chiark / gitweb /
rules: move aoe rules to default rules file
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 9 Dec 2008 03:18:21 +0000 (04:18 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 9 Dec 2008 03:18:21 +0000 (04:18 +0100)
rules/packages/40-aoe.rules [deleted file]
rules/rules.d/50-udev-default.rules

diff --git a/rules/packages/40-aoe.rules b/rules/packages/40-aoe.rules
deleted file mode 100644 (file)
index 4c01442..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# aoe char devices
-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"
-SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
-SUBSYSTEM=="aoe", KERNEL=="flush",      NAME="etherd/%k", GROUP="disk", MODE="0220"
-
-# aoe block devices
-SUBSYSTEM=="aoe", KERNEL=="etherd*",    NAME="%k", GROUP="disk"
index ad725fc..0f27982 100644 (file)
@@ -87,7 +87,8 @@ KERNEL=="pktcdvd[0-9]*",      NAME="pktcdvd/%k"
 KERNEL=="pktcdvd",             NAME="pktcdvd/control"
 KERNEL=="qft0",                        SYMLINK+="ftape"
 SUBSYSTEM=="bsg",              NAME="bsg/%k"
-SUBSYSTEM=="aoe",              NAME="etherd/%k", GROUP="disk"
+SUBSYSTEM=="aoe",              NAME="etherd/%k", GROUP="disk", MODE="0220"
+SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440"
 
 # network
 KERNEL=="tun",                 NAME="net/%k", MODE="0666", OPTIONS+="ignore_remove"