home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / images / boot.img / EXAMPLES.MSG < prev    next >
Text File  |  1997-11-26  |  910b  |  25 lines

  1.  
  2.  
  3.                    0cRed Hat Rescue Mode Examples07
  4.  
  5. To create devices, use the 0fmknod07 command.
  6.  
  7.    0fmknod /dev/<DEVICE NAME> b [MAJOR MINOR]07
  8.  
  9. Device names include: hda, hda1, sdb, etc.
  10. MAJOR, MINOR are the corresponding device numbers.
  11.  
  12.    DEVICE    MAJOR MINOR            DEVICE     MAJOR  MINOR 
  13.     hda        3     0               sda         8      0     
  14.     hda[1..x]  3    1..x             sda[1..x]   8     1..x
  15.     hdb        3     64              sdb         8      16
  16.     hdb[1..x]  3   65..64+x          sdb[1..x]   8    17..16+x
  17.     hdc        22    0               sdc         8      32
  18.     hdc[1..x]  22  23..22+x          sdc[1..x]   8    33..32+x
  19.  
  20. For example, to create and mount a root partition on hda1, use the following:
  21.    0fmknod /dev/hda1 b 3 10f
  22.    0fmount -t ext2 /dev/hda1 /mnt0f
  23.  
  24. 05[F1-Main] [F2-General] [F3-Expert] [F4-Rescue] [F5-Kickstart] [F6-Kernel]07
  25.