]> err.no Git - systemd/commitdiff
rules: add rules for AoE devices
authorRyan Thomas <ryan@coraid.com>
Tue, 9 Dec 2008 00:10:03 +0000 (19:10 -0500)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 9 Dec 2008 00:35:22 +0000 (01:35 +0100)
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.

rules/packages/40-aoe.rules [new file with mode: 0644]

diff --git a/rules/packages/40-aoe.rules b/rules/packages/40-aoe.rules
new file mode 100644 (file)
index 0000000..4c01442
--- /dev/null
@@ -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"