yes that works for me too (amd64, hdparm 9.15-1ubuntu4). remaining problem for me: id like to use the "sleep" commando to put a drive into sleep mode (hdparm -Y) concurrently with setting the standby timer: /dev/sdb { spindown_time = 240 sleep }
this gets executed with the patch, but the drive spins up instantly again. i dont fully understand the /lib/udev/hdparm script, but i guess the two commands i use are issued together and hdparm sends -Y before -S internally. this would explain the observed behaviour. a fix for the script would handle -Y and -y commands differently (like it is done for -f (flush). a better way would be to ensure, that hdparm does issus -Y/-y last, if there are multiple command line issues in one call. i should probably open another bug report? -- hdparm not being triggered with udev https://bugs.launchpad.net/bugs/227705 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs