3rd BIG IDE drive in LINUX 1.2.11

Jim Van Zandt jrv at mbunix.mitre.org
Tue Dec 5 13:10:11 EST 1995


I reported:
>My entries (kernel 1.2.13) look like this:
> 
> vanzandt-pc:/usr/lib$ ls -l /dev/hd? /dev/hd?1
> brw-r-----   1 root     disk       3,   0 Jul 17  1994 /dev/hda
> brw-r-----   1 root     disk       3,   1 Jul 17  1994 /dev/hda1
> brw-r-----   1 root     disk       3,  64 Jul 17  1994 /dev/hdb
> brw-r-----   1 root     disk       3,  65 Jul 17  1994 /dev/hdb1
> brw-r-----   1 root     disk       3, 128 Feb 15  1995 /dev/hdc
> brw-r-----   1 root     disk       3, 129 Feb 15  1995 /dev/hdc1
> brw-r-----   1 root     disk       3, 192 Feb 15  1995 /dev/hdd
> brw-r-----   1 root     disk       3, 193 Feb 15  1995 /dev/hdd1

In message <199512051529.KAA21032 at krakatoa.ccs.neu.edu>, Albert Cahalan writes:
>That is wrong, try this instead:
>
> brw-r-----   1 root     disk       3,   0 Jul 17  1994 /dev/hda
> brw-r-----   1 root     disk       3,   1 Jul 17  1994 /dev/hda1
> brw-r-----   1 root     disk       3,  64 Jul 17  1994 /dev/hdb
> brw-r-----   1 root     disk       3,  65 Jul 17  1994 /dev/hdb1
> brw-r-----   1 root     disk      22,   0 Feb 15  1995 /dev/hdc
> brw-r-----   1 root     disk      22,   1 Feb 15  1995 /dev/hdc1
> brw-r-----   1 root     disk      22,  64 Feb 15  1995 /dev/hdd
> brw-r-----   1 root     disk      22,  65 Feb 15  1995 /dev/hdd1
>
>I think someone saw a pattern and made a bad assumption.

Aha! I have those major/minor device numbers too, but under different
names:

vanzandt-pc:/dev# ls -l hd1? hd1?1
brw-r-----   1 root     disk      22,   0 Jul 17  1994 hd1a
brw-r-----   1 root     disk      22,   1 Jul 17  1994 hd1a1
brw-r-----   1 root     disk      22,  64 Jul 17  1994 hd1b
brw-r-----   1 root     disk      22,  65 Jul 17  1994 hd1b1
brw-r-----   1 root     disk      22, 128 Feb 15  1995 hd1c
brw-r-----   1 root     disk      22, 129 Feb 15  1995 hd1c1
brw-r-----   1 root     disk      22, 192 Feb 15  1995 hd1d
brw-r-----   1 root     disk      22, 193 Feb 15  1995 hd1d1

My /dev/hd* devices were as constructed by /dev/MAKEDEV:

vanzandt-pc:/dev$ ls -l M*
-rwxr-xr--   1 root     root        11969 Jul 17  1994 MAKEDEV*

which came from Nick Holloway:

#       Nick Holloway <Nick.Holloway at alfie.demon.co.uk>
#                                       Last changed: 17th July 1994


                        - Jim Van Zandt



More information about the Discuss mailing list