[Bug 227705] Re: hdparm not being triggered with udev

2010-03-24 Thread Mihai Osian
I tested it by enabling tracing in /lib/udev/hdparm (insert a "set -x" somewhere at the top), setting the "DEVNAME" variable to "/dev/sdb" and running the script. So no, it was not during a boot. . But now that I think of it, it is quite possible that immediately after udev parses and sets the

[Bug 227705] Re: hdparm not being triggered with udev

2010-03-23 Thread Mihai Osian
Amenophis: I have just tested your configuration and what gets executed is the following: /sbin/hdparm -q -f /dev/sdb /sbin/hdparm -q -S240 -q -Y /dev/sdb This instantly spins down the disk and sets the standby time at the same time. If your disk spins up again, then most likely something

[Bug 227705] Re: hdparm not being triggered with udev

2010-03-17 Thread Mihai Osian
** Patch added: "Attached patch for /lib/udev/hdparm" http://launchpadlibrarian.net/41168632/hdparm.patch -- 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.

[Bug 227705] Re: hdparm not being triggered with udev

2010-03-17 Thread Mihai Osian
It appears that updating line 93 from /lib/udev/hdparm is enough to solve the issue. Modify from: DISC=$KEY to: DISC=$(readlink -f $KEY) -- hdparm not being triggered with udev https://bugs.launchpad.net/bugs/227705 You received this bug notification because you are a member of Ubuntu Bu