summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Thomas <ryan@coraid.com>2008-12-08 19:10:03 -0500
committerKay Sievers <kay.sievers@vrfy.org>2008-12-09 01:35:22 +0100
commit4fbf41c01835212c3a791b40cfcfccce58c21afd (patch)
tree5e68726f1546afcb138faa82c29e8de2509c2c46
parentb76ad2e537e8672ace442eb27439521c9b107b09 (diff)
rules: add rules for AoE devices
In the interest of standardizing udev rules, please consider the following patch that adds udev rules for the ATA over Ethernet character and block devices. The aoe module has been a long-time member of the kernel and needs inclusion in the standard udev rules.
-rw-r--r--rules/packages/40-aoe.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules/packages/40-aoe.rules b/rules/packages/40-aoe.rules
new file mode 100644
index 0000000000..4c01442e1c
--- /dev/null
+++ b/rules/packages/40-aoe.rules
@@ -0,0 +1,9 @@
+# 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"