Este conteúdo não está disponível no idioma selecionado.
5.3.5. /proc/ide/
This directory contains information about IDE devices on the system. Each IDE channel is represented as a separate directory, such as
/proc/ide/ide0
and /proc/ide/ide1
. In addition, a drivers
file is available, providing the version number of the various drivers used on the IDE channels:
ide-floppy version 0.99.newide ide-cdrom version 4.61 ide-disk version 1.18
ide-floppy version 0.99.newide
ide-cdrom version 4.61
ide-disk version 1.18
Many chipsets also provide a file in this directory with additional data concerning the drives connected through the channels. For example, a generic Intel PIIX4 Ultra 33 chipset produces the
/proc/ide/piix
file which reveals whether DMA or UDMA is enabled for the devices on the IDE channels:
Navigating into the directory for an IDE channel, such as
ide0
, provides additional information. The channel
file provides the channel number, while the model
identifies the bus type for the channel (such as pci
).
5.3.5.1. Device Directories Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Within each IDE channel directory is a device directory. The name of the device directory corresponds to the drive letter in the
/dev/
directory. For instance, the first IDE drive on ide0
would be hda
.
Note
There is a symbolic link to each of these device directories in the
/proc/ide/
directory.
Each device directory contains a collection of information and statistics. The contents of these directories vary according to the type of device connected. Some of the more useful files common to many devices include:
cache
— The device cache.capacity
— The capacity of the device, in 512 byte blocks.driver
— The driver and version used to control the device.geometry
— The physical and logical geometry of the device.media
— The type of device, such as adisk
.model
— The model name or number of the device.settings
— A collection of current device parameters. This file usually contains quite a bit of useful, technical information. A samplesettings
file for a standard IDE hard disk looks similar to the following:Copy to Clipboard Copied! Toggle word wrap Toggle overflow