
15
Common Linux Device Names
A: floppy /dev/fd0 or /dev/floppy
B: floppy
/dev/fd1
Master drive on primary
IDE channel
/dev/hda
First partition on master
drive on primary partition
/dev/hda1
Third partition on master
drive on primary partition
/dev/hda3
Slave drive on primary IDE
channel
/dev/hdb
Master drive on secondary
IDE channel
/dev/hdc
Slave drive on secondary
IDS channel
/dev/hdd
SCSI target ID 0
/dev/sd0
SCSI target ID 1
/dev/sd1
Second partition on the hard
disk at SCSI target ID 0
/dev/sd02
SCSI tape device
/dev/st0
CD-ROM /dev/cdrom or the IDE/SCSI designation if SCSI (/dev/hdb, /dev/sd5, etc.)
Keyboard
/dev/tty
Modem
/dev/modem
Sound system
/dev/sound
Interesting trick with devices - Since the keyboard is a device with a filename (/dev/tty) you can
create a text file from what you type at the keyboard...very similar to copy con.
Commenti su questo manuale