summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-03-13 15:59:02 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-03-13 15:59:02 +0100
commit025d3cc960f4b8648e597f5f2cee6f89daf8ee5b (patch)
tree73d836c20e1d60fd98e22df83921be908d0bbfba /etc
parent0d57399d92cfc6ff082df22ff0047e41927490d1 (diff)
rules: do not set GROUP="disk" for scanners
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/rules.d/50-udev-default.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/udev/rules.d/50-udev-default.rules b/etc/udev/rules.d/50-udev-default.rules
index aedc6ae8b4..d201b05608 100644
--- a/etc/udev/rules.d/50-udev-default.rules
+++ b/etc/udev/rules.d/50-udev-default.rules
@@ -66,7 +66,7 @@ KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitio
KERNEL=="fd[0-9]", GROUP="floppy"
KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k"
KERNEL=="sch[0-9]*", GROUP="disk"
-KERNEL=="sg[0-9]*", GROUP="disk", MODE="0640"
+KERNEL=="sg[0-9]*", ATTRS{type}!="3|6", GROUP="disk", MODE="0640"
KERNEL=="ht[0-9]*|nht[0-9]*", GROUP="disk"
KERNEL=="pg[0-9]*", GROUP="disk"
KERNEL=="pt[0-9]*|npt[0-9]*", GROUP="disk"