From: Ryan Thomas Date: Tue, 9 Dec 2008 00:10:03 +0000 (-0500) Subject: rules: add rules for AoE devices X-Git-Tag: 174~1262 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fbf41c01835212c3a791b40cfcfccce58c21afd;p=systemd 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. --- diff --git a/rules/packages/40-aoe.rules b/rules/packages/40-aoe.rules new file mode 100644 index 00000000..4c01442e --- /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"