[Bug 156893] [NEW] udev rules only for hd[a-z], not sd[a-z]

Launchpad Bug Tracker 156893 at bugs.launchpad.net
Thu Feb 17 08:49:38 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: hdparm

/etc/udev/rules.d/85-hdparm.rules only seems to handle hd devices, but
not sd ones, e.g. sata.

Is the following patch sane?

diff -u hdparm-7.5/debian/hdparm.rules hdparm-7.5/debian/hdparm.rules
--- hdparm-7.5/debian/hdparm.rules
+++ hdparm-7.5/debian/hdparm.rules
@@ -1,2 +1,2 @@
-ACTION=="add", SUBSYSTEM=="block", KERNEL=="hd[a-z]", \
+ACTION=="add", SUBSYSTEM=="block", KERNEL=="[hs]d[a-z]", \
        RUN+="/lib/udev/hdparm"

** Affects: hdparm (Ubuntu)
     Importance: High
         Status: Fix Released

** Affects: hdparm (Debian)
     Importance: Unknown
         Status: Fix Released

-- 
udev rules only for hd[a-z], not sd[a-z]
https://bugs.launchpad.net/bugs/156893
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list