

                   0cRed Hat Rescue Mode Examples07

To create devices, use the 0fmknod07 command.

   0fmknod /dev/<DEVICE NAME> b [MAJOR MINOR]07

Device names include: hda, hda1, sdb, etc.
MAJOR, MINOR are the corresponding device numbers.

   DEVICE    MAJOR MINOR            DEVICE     MAJOR  MINOR 
    hda        3     0               sda         8      0     
    hda[1..x]  3    1..x             sda[1..x]   8     1..x
    hdb        3     64              sdb         8      16
    hdb[1..x]  3   65..64+x          sdb[1..x]   8    17..16+x
    hdc        22    0               sdc         8      32
    hdc[1..x]  22  23..22+x          sdc[1..x]   8    33..32+x

For example, to create and mount a root partition on hda1, use the following:
   0fmknod /dev/hda1 b 3 10f
   0fmount -t ext2 /dev/hda1 /mnt0f

05[F1-Main] [F2-General] [F3-Expert] [F4-Rescue] [F5-Kickstart] [F6-Kernel]07
