Monday, June 11, 2007

Basic Linux Devices

The first partition on a IDE hard drive is called partition 1, and is called /dev/hda1 if the drive is the primary IDE master.

/dev/fd0 Floppy disk
/dev/hda1IDE Hard drive 1, partition 1
/dev/hdb3IDE Hard drive 2, partition 3
/dev/sda1First SCSI interface (probably hard drive), device id 1
/dev/sdc3First SCSI interface, device id 3
/dev/cdrom CD ROM drive
/dev/mouseMouse device, sometimes a pointer to another device such as /dev/psaux, a ps/2 mouse driver.

primary IDE master /dev/hda
primary IDE slave/dev/hdb
secondary IDE master/dev/hdc
secondary IDE slave /dev/hdd


The first partition on a IDE hard drive is called partition 1, and is called /dev/hda1 if the drive is the primary IDE master.

No comments: