Linux Drive Naming Scheme Explained

hard drive

In Windows; you have the C:\ drive. This is the primary drive upon which Windows is installed.

However, Linux uses a different naming scheme: sda, sdb[1-4], etc. Can anyone give me a brief outline of it so I might actually understand it instead of being confused by it?

Best Answer

In general, the letters (fd, sd, hd) refer to the device type ('SATA, SCSI/SATA, IDE'), the third letter is for the device order (a the first, b the second, etc) and the numbers refer to the partitions the device has, starting by zero.

  • hd refers to an IDE-type drive
  • sd refers to a SCSI drive in general, but is mostly popular for SATA drives and CD/DVD
  • fd is floppy disk

So for example:

  • the first (1) partition on your first (a) SATA drive is /dev/sda1
  • The third (3) partition on your second (b) SATA drive is /dev/sdb3
  • the second partition (2) of the second (b) IDE hard disk is '/dev/hdb2'

This device naming is more of a background one, as the actual point to access it a directory mount point.

I think that the following three articles will help you a bit:

Related Question