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 d89d8d0..3c09d07 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"