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-8.3 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

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/hdparm

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 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 command with the following:

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.

Last updated on 2018-08-18 14:53:19 -0700