What & How & Why

这是本文档旧的修订版!


Partition in Liunx

Hardrive format in Linux

For SATA, USB, SAS, these type of devices are showing in Linux like:

/dev/sd[a-]
the a after sd indicates the currently number of harddisk. The order of these number is only associate with the computer checking sequence for harddrives. First is a , then b… For older IDE, the old version of Linux call them:
/dev/hd[a-]
Since IDE harddrives is no longer used in new generation computers, some new version Linux just put them into sd aslo.

Other devices format

Devices Name in Liunx
SCSI / SAS / USB / SATA /dev/sd[a-p]
IDE /dev/hd[a-p](Only in older Liunx)
Virtual I/O(included in Liunx /dev/vd[a-p]
Floppy Disk /dev/fd[a-p]
Printer /dev/lp[0-2](25pin) # /dev/lp[0-15](USB)
Mouse /dev/mouse(currently in use) # /dev/psaux(PS/2) # /dev/input/mouse[0-15](general)
CD/DVD ROM /dev/scd[0-1](general) # /dev/sr[0-1](CentOS) # /dev/cdrom(currently in use)


For more devices name: Link

MBR

MBR: Master boot record