summaryrefslogtreecommitdiff
path: root/etc/udev/gentoo
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2005-01-12 07:38:49 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 23:21:58 -0700
commit78b574cfcde57a93994f73ee6aca31e499b9dd09 (patch)
treefa2aac405e5e9abaff90bed113bcf61818ea7072 /etc/udev/gentoo
parent240ce551799c78c6e77362e7b7feaaf09b72309b (diff)
[PATCH] add aoe block and char device rules to the gentoo rule file.
Diffstat (limited to 'etc/udev/gentoo')
-rw-r--r--etc/udev/gentoo/udev.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules
index d89d8d0a2c..3c09d072da 100644
--- a/etc/udev/gentoo/udev.rules
+++ b/etc/udev/gentoo/udev.rules
@@ -77,6 +77,15 @@ KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k", GROUP="disk"
# md block devices
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"
+
# misc devices
KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"