Hdparm

hdparm is used in Linux for setting harddisk options.

To view current settings, simply run: hdparm /dev/hda (or /hdb, /hdc, etc.)

-c1 enables 32-bit I/O

-d1 enables DMA

-X66 enables ATA/33

Red Hat uses /etc/rc.sysinit to call scripts /etc/sysconfig/harddiskhda, /etc/sysconfig/harddiskhdb, etc. to run hdparm upon boot.

File: /etc/sysconfig/harddiskhda:

USE_DMA=1

EIDE_32BIT=1

To enable DMA during boot, add the following line to your lilo.conf file:

append = "ide0=dma"


 * http://www.linuxdevcenter.com/pub/a/linux/2000/06/29/hdparm.html


 * http://support.intel.com/support/graphics/sb/CS-010515.htm