Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

98.3. hdparm-9.65

Set and read ATA power management, spindown and secure erase

9.65-1 · hdparm · 0.1 SBU · 169.2 KiB, 3 files · 41_system, 384 of 1047 · ports/core/disk/hdparm

Homepage: https://sourceforge.net/projects/hdparm/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/disk.txt:

The half smartmontools cannot do: it reports a drive's health and cannot change its behaviour. APM, spindown and secure erase are here.

Depends on: nothing a recipe names.

Required by (1): tlp.

Sources: hdparm-9.65.tar.gz (137.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install hdparm'

build.sh:

export CFLAGS="$CFLAGS -Wno-error"
make
make DESTDIR=$PKG sbindir=/usr/sbin install

Programs: hdparm.

Directories: /usr/share/licenses/hdparm.