summaryrefslogtreecommitdiff
path: root/etc/udev/gentoo/udev.rules
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-12-20 22:24:19 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:19:09 -0700
commit87da5b2c65e0a889093c27189212505328aea4ab (patch)
treeda39209e02280a1028826e04f512df0f0038815d /etc/udev/gentoo/udev.rules
parentc07068d5e0b153634c4457aff3dd16700161be00 (diff)
[PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk permissions
Diffstat (limited to 'etc/udev/gentoo/udev.rules')
-rw-r--r--etc/udev/gentoo/udev.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules
index dbb0e6f51e..d89d8d0a2c 100644
--- a/etc/udev/gentoo/udev.rules
+++ b/etc/udev/gentoo/udev.rules
@@ -207,6 +207,9 @@ KERNEL="diskonkey*", NAME="%k", GROUP="disk"
# rem_ide devices
KERNEL="microdrive*", NAME="%k", GROUP="disk"
+# all block devices
+SUBSYSTEM="block", NAME="%k", GROUP="disk"
+
# kbd devices
KERNEL="kbd", NAME="%k", MODE="0664"