KS won't partition drives
Philip Rowlands
phr at doc.ic.ac.uk
Wed Aug 18 16:30:11 UTC 2004
On Wed, 18 Aug 2004, Blair Lowe wrote:
>I'm working on the mknod: the hda one succeeded, but my confusion is
>that /dev/hda1 would be the first partition of the one drive, and hdb
>would be the second ide drive, so why would you go:
>
>mknod /dev/hda1 b 3 1
>
>for hdb????
Erm, that's creating hda1, not hdb. The "b" in the command above is
short for "block", i.e. a block (not a character) device.
Ignoring kickstart/anaconda, and just looking at my local RedHat system:
$ ls -l /dev/hda{,1,2,3,4,5} /dev/hdb{,1,2,3,4,5}
brw-rw---- 1 root disk 3, 0 Feb 18 15:26 /dev/hda
brw-rw---- 1 root disk 3, 1 Feb 18 15:26 /dev/hda1
brw-rw---- 1 root disk 3, 2 Feb 18 15:26 /dev/hda2
brw-rw---- 1 root disk 3, 3 Feb 18 15:26 /dev/hda3
brw-rw---- 1 root disk 3, 4 Feb 18 15:26 /dev/hda4
brw-rw---- 1 root disk 3, 5 Feb 18 15:26 /dev/hda5
brw-rw---- 1 root disk 3, 64 Feb 18 15:26 /dev/hdb
brw-rw---- 1 root disk 3, 65 Feb 18 15:26 /dev/hdb1
brw-rw---- 1 root disk 3, 66 Feb 18 15:26 /dev/hdb2
brw-rw---- 1 root disk 3, 67 Feb 18 15:26 /dev/hdb3
brw-rw---- 1 root disk 3, 68 Feb 18 15:26 /dev/hdb4
brw-rw---- 1 root disk 3, 69 Feb 18 15:26 /dev/hdb5
Those are the major and minor node numbers used by Linux; promise, I
didn't make them up :)
Cheers,
Phil
More information about the Kickstart-list
mailing list