Linux, Finding Drives
IDE / ATAPI (hard drives & CD-ROM)
Physical drives
- /dev/hda (EIDE controller 1, drive 1)
- /dev/hdb (EIDE controller 1, drive 2)
- /dev/hdc (EIDE controller 2, drive 1)
- /dev/hdd (EIDE controller 2, drive 2)
Partitions
- /dev/hda1 (first partition on /dev/hda)
- /dev/hda2 (second partition on /dev/hda, and so forth)
SCSI (hard drives & CD-ROM)
Physical drives
- /dev/sda (first SCSI drive)
- /dev/sdb (second SCSI drive, and so forth)
Partitions
- /dev/sda1 (first partition on /dev/sda)
- /dev/sda2 (second partition on /dev/sda, and so forth)
/dev/cdrom (link to the default CD-ROM device)
Floppy drives
- /dev/fd0 (first floppy drive)
- /dev/fd1 (second floppy drive)