summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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"