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-11.2 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.
Download (HTTP): https://downloads.sourceforge.net/hdparm/hdparm-9.64.tar.gz
Download MD5 sum: 200fe7a1b20dd65aa414ba5b08677848
Download size: 140 KB
Estimated disk space required: 1.2 MB
Estimated build time: less than 0.1 SBU
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/hdparm
First, fix building this package with glibc-2.36:
sed -i '/linux/d' hdparm.c
Build Hdparm by running the following command:
make
This package does not come with a test suite.
Now, as the root
user:
make binprefix=/usr install