Introduction to Hdparm

The Hdparm package contains a utility that is useful for obtaining information about, and controlling ATA/IDE controllers and hard drives. It allows to increase performance and sometimes to increase stability.

This package is known to build and work properly using an LFS 12.1 platform.



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, it is recommended that you leave the default kernel parameters alone.

Package Information

Installation of Hdparm

Build Hdparm by running the following command:


This package does not come with a test suite.

Now, as the root user:

make binprefix=/usr install


Installed Program: hdparm
Installed Libraries: None
Installed Directories: None

Short Descriptions


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