chiark / gitweb /
[PATCH] add aoe block and char device rules to the gentoo rule file.
authorgreg@kroah.com <greg@kroah.com>
Wed, 12 Jan 2005 15:38:49 +0000 (07:38 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:21:58 +0000 (23:21 -0700)
etc/udev/gentoo/udev.rules

index d89d8d0a2c4524b84ed7f84e796f3b4f1ec0d87c..3c09d072da416d67111ac02b05dbc33ba47db653 100644 (file)
@@ -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"