]> err.no Git - systemd/commitdiff
[PATCH] clean up the aoe char device rules, and delete the block one as it's not...
authorgreg@kroah.com <greg@kroah.com>
Thu, 13 Jan 2005 01:46:50 +0000 (17:46 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:21:58 +0000 (23:21 -0700)
etc/udev/gentoo/udev.rules

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