====== Proc - IDE directory ====== The subdirectory **/proc/ide** contains information about all IDE devices of which the kernel is aware. There is one subdirectory for each IDE controller, the file drivers and a link for each IDE device, pointing to the device directory in the controller specific subtree. The file drivers contains general information about the drivers used for the IDE devices: cat /proc/ide/drivers ide-cdrom version 4.53 ide-disk version 1.08 More detailed information can be found in the controller specific subdirectories. These are named ide0, ide1 and so on. Each of these directories contains the files shown in this table. ===== IDE controller info in /proc/ide/ide? ===== ^File^Content^ |channel|IDE channel (0 or 1).| |config|Configuration (only for PCI/IDE bridge).| |mate|Mate name.| |model|Type/Chipset of IDE controller.| Each device connected to a controller has a separate subdirectory in the controllers directory. The files listed in this next table are contained in these directories. ===== IDE device information ===== ^File^Content^ |cache|The cache.| |capacity|Capacity of the medium (in 512Byte blocks).| |driver|Driver and version.| |geometry|Physical and logical geometry.| |identify|Device identify block.| |media|Media type.| |model|Device identifier.| |settings|Device setup.| |smart_thresholds|IDE disk management thresholds.| |smart_values|IDE disk management values.| The most interesting file is **settings**. This file contains a nice overview of the drive parameters: cat /proc/ide/ide0/hda/settings name value min max mode ---- ----- --- --- ---- bios_cyl 526 0 65535 rw bios_head 255 0 255 rw bios_sect 63 0 63 rw breada_readahead 4 0 127 rw bswap 0 0 1 r file_readahead 72 0 2097151 rw io_32bit 0 0 3 rw keepsettings 0 0 1 rw max_kb_per_request 122 1 127 rw multcount 0 0 8 rw nice1 1 0 1 rw nowerr 0 0 1 rw pio_mode write-only 0 255 w slow 0 0 1 rw unmaskirq 0 0 1 rw using_dma 0 0 1 rw