D.1. Linux Devices

In Linux various special files can be found under the directory /dev. These files are called device files and behave unlike ordinary files. The most common types of device files are for block devices and character devices. These files are an interface to the actual driver (part of the Linux kernel) which in turn accesses the hardware. Another, less common, type of device file is the named pipe. The most important device files are listed in the tables below.

sda First SCSI/FCP hard disk
sdb Second SCSI/FCP hard disk
sda1 First partition of the first SCSI/FCP hard disk
sdb7 Seventh partition of the second SCSI/FCP hard disk

dasda First DASD disk
dasdb Second DASD disk
dasda1 First partition of the first DASD disk
dasdb7 Seventh partition of the second DASD disk

cdrom Symbolic link to the (virtual) CD-ROM drive

null Anything written to this device will disappear
zero One can endlessly read zeros out of this device