[Harry Zink]
> Not sure what this will help, except confirm again that these volumes aren't
> accessible, which was my question to start with.

question is "why?", answer is "no appropriate /dev entries"

> [root@gate src]# ls -l /dev/hdj1
> ls: /dev/hdj1: No such file or directory
> [root@gate src]# ls -l /dev/hdj
> ls: /dev/hdj: No such file or directory
> [root@gate src]# ls -l /dev/hdk
> ls: /dev/hdk: No such file or directory
> [root@gate src]# ls -l /dev/hdk1
> ls: /dev/hdk1: No such file or directory

That's why you can't fdisk (just as Gregory has pointed out before)... get
those created (see previous note as per MAKEDEV)... default setup is 4 IDE
controllers (ide[0-3]) which correspond do the 8 IDE devices hd[a-h]...

Judging by /usr/src/linux/Documentation/devices.txt, I'd say the major's
for these new devices should be 56 and 57, so my guess would be:

mknod /dev/hdj b 56 64
mknod /dev/hdj1 b 56 65
mknod /dev/hdk b 57 0
mknod /dev/hdk1 b 57 1

attached is what might be a working MAKEDEV patch... who knows.

Bleah,

James
--- /dev/MAKEDEV        Thu Mar  2 16:35:20 2000
+++ /tmp/MAKEDEV        Wed May 17 11:17:28 2000
@@ -188,6 +188,8 @@
                        ide1)   echo hdc hdd ;;
                        ide2)   echo hde hdf ;;
                        ide3)   echo hdg hdh ;;
+                       ide4)   echo hdi hdj ;;
+                       ide5)   echo hdk hdl ;;
                        sd)     echo sda sdb sdc sdd ;;
                        sr)     echo scd0 ;;
                        st)     echo st0 ;;
@@ -619,6 +621,28 @@
                ;;
        hd[g-h])
                major=`Major ide3 34` || continue
+               unit=`suffix $arg hd`
+               base=`index gh $unit`
+               base=`math $base \* 64`
+               makedev hd$unit b $major $base $disk
+               for part in 1 2 3 4 5 6 7 8 # 9 10 11 12 13 14 15 16 17 18 19 20
+               do
+                       makedev hd$unit$part b $major `expr $base + $part` $disk
+               done
+               ;;
+       hd[i-j])
+               major=`Major ide4 56` || continue
+               unit=`suffix $arg hd`
+               base=`index gh $unit`
+               base=`math $base \* 64`
+               makedev hd$unit b $major $base $disk
+               for part in 1 2 3 4 5 6 7 8 # 9 10 11 12 13 14 15 16 17 18 19 20
+               do
+                       makedev hd$unit$part b $major `expr $base + $part` $disk
+               done
+               ;;
+       hd[k-l])
+               major=`Major ide5 57` || continue
                unit=`suffix $arg hd`
                base=`index gh $unit`
                base=`math $base \* 64`

Reply via email to