Introduction to hdparm

The hdparm package contains a utility that is useful for controlling ATA/IDE controllers and hard drives both to increase performance and sometimes to increase stability.



As well as being useful, incorrect usage of hdparm can destroy your information and in rare cases, drives. Use with caution and make sure you know what you are doing. If in doubt, we recommend you leave the default kernel parameters alone.

Package information

Installation of hdparm

First apply the required patch:

patch -Np1 -i ../hdparm-5.5-glibc_CVS-1.patch

Install hdparm by running the following commands:

make &&
make install

Note that by default, hdparm is installed in /sbin as some systems may require it during the boot process before /usr is mounted. If you wish to install hdparm under the /usr hierarchy, then replace the above commands with the following:

make &&
make binprefix=/usr install


The hdparm package contains hdparm.



hdparm provides a command-line interface to various hard disk ioctls supported by the stock Linux ATA/IDE device driver subsystem.