running udev in debug mode (udevd --debug --debug-trace)  i can see this
execution order

1) /lib/udev/rules.d/50-udev-default.rules for sda
2) /lib/udev/rules.d/85-hdparm.rules for sda

3) /lib/udev/rules.d/50-udev-default.rules for sda1
4) /lib/udev/rules.d/85-hdparm.rules for sda1

in 2, the hdparm options get set, the disk goes to sleep. But in 3,
blk_id is called against sda1, which spins up the disk again. 4 does not
call hdparm.conf as it is a partition

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

Reply via email to