Dear Maintainer,
hdparm.conf says:
## /sbin/hdparm is not run unless a block of the form:
## DEV {
## option
## option
## ...
## }
## exists.
However, thta turns out to be wrong. My hdparm.conf only contains a block for
/dev/sdb, and yet:
# /lib/systemd/system-sleep/hdparm post
/dev/sda:
setting Advanced Power Management level to 0xfe (254)
APM_level = 254
/dev/sdb:
setting Advanced Power Management level to 0xfe (254)
APM_level = 254
/dev/sdb:
setting standby to 50 (4 minutes + 10 seconds)
As you can see, hdparm is called for /dev/sda as well.
Kind regards,
Ralf
block for You are right, hdparm shouldn't be touching all disk in the system, but there is a reason. The issue is summarized here: https://wiki.ubuntu.com/DanielHahler/Bug59695 https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695 Currently -B 254 on AC power and -B 128 on battery seem to be the sensible default values for the vast majority of disks and are set for every disk supporting APM. These defaults are defined in /lib/hdparm/hdparm-functions in hdparm_option() function. The (ancient) documentation of hdparm need to be updated to note these defaults. Best regards, Alex
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448673 It's not a bug, it's a feature! :) Thank you for brining this up, I wasn't aware of it.