Each IDE device directory contains several entries providing access to identification
and configuration information for the device. A few of the most useful are listed here:
- model contains the device's model identification string.
- media contains the device's media type. Possible values are disk, cdrom, tape,
floppy, and UNKNOWN.
- capacity contains the device's capacity, in 512-byte blocks.
$ cat /proc/ide/ide1/hdc/media
$ cat /proc/ide/ide1/hdc/model
$ cat /proc/scsi/scsi
$ cat /proc/sys/dev/cdrom/info