summaryrefslogtreecommitdiff
path: root/etc/udev
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2005-01-12 17:46:50 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 23:21:58 -0700
commit83e1f809c93c5d3770504e13ed06041af8252d20 (patch)
tree8857b00b37bd05da40b74dffcd6eb48fb8da8ef5 /etc/udev
parentaa7f11f4709798d5173d289475103cb078996f58 (diff)
[PATCH] clean up the aoe char device rules, and delete the block one as it's not needed.
Diffstat (limited to 'etc/udev')
-rw-r--r--etc/udev/gentoo/udev.rules10
1 files changed, 3 insertions, 7 deletions
diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules
index 3c09d072da..6f71321fb8 100644
--- a/etc/udev/gentoo/udev.rules
+++ b/etc/udev/gentoo/udev.rules
@@ -78,13 +78,9 @@ KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k", GROUP="disk"
KERNEL="md[0-9]*", NAME="md/%n", SYMLINK="%k", GROUP="disk"
# aoe char devices,
-# we might have to add a "CLASS" type one of these days to make this a bit saner
-KERNEL="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
-KERNEL="err", NAME="etherd/%k", GROUP="disk", MODE="0440"
-KERNEL="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
-
-# aoe block devices
-KERNEL="etherd*", NAME="%k", GROUP="disk"
+SUBSYSTEM="aoe", KERNEL="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
+SUBSYSTEM="aoe", KERNEL="err", NAME="etherd/%k", GROUP="disk", MODE="0440"
+SUBSYSTEM="aoe", KERNEL="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
# misc devices
KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"