There's an alternative patch floating around on launchpad [1]. It's against Ubuntu's udev script but also applies against our init script.
Main difference is that it also works for the non-udev case, and I see no good reason why it should not apply for both, especially as long as hdparm is also called from an init script at boot time. It would be great to have this change included in Squeeze. I'm CCing #533535 as, if applied, this change should not get lost if the init script is dropped in favor of a udev script. Cheers, FJP [1] https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/222458 --- /lib/udev/hdparm 2008-06-19 10:46:49.000000000 +0200 +++ /tmp/udev/hdparm 2009-01-19 23:08:10.000000000 +0100 @@ -90,7 +90,12 @@ egrep -v '^[[:space:]]*(#|$)' /etc/hdpar IN_BLOCK=0 ;; *) - DISC=$KEY + if [ -h "$KEY" ] + then + DISC=$(readlink -m "$KEY") + else + DISC=$KEY + fi OPTIONS=$DEFAULT OPT_QUIET=$DEF_QUIET WAS_RUN=0 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org