diff options
author | 2019-06-27 12:59:40 -0300 | |
---|---|---|
committer | 2019-07-15 11:03:02 -0300 | |
commit | 83bbf6e103544d65f17f4b2ccea1c6a51c0b0769 (patch) | |
tree | 9f37eb8ea225fc60312ba26b43522c420634da53 /Documentation/admin-guide/aoe/udev.txt | |
parent | docs: add some documentation dirs to the driver-api book (diff) | |
download | linux-dev-83bbf6e103544d65f17f4b2ccea1c6a51c0b0769.tar.xz linux-dev-83bbf6e103544d65f17f4b2ccea1c6a51c0b0769.zip |
docs: aoe: add it to the driver-api book
Those files belong to the admin guide, so add them.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Justin Sanders <justin@coraid.com>
Diffstat (limited to 'Documentation/admin-guide/aoe/udev.txt')
-rw-r--r-- | Documentation/admin-guide/aoe/udev.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/admin-guide/aoe/udev.txt b/Documentation/admin-guide/aoe/udev.txt new file mode 100644 index 000000000000..5fb756466bc7 --- /dev/null +++ b/Documentation/admin-guide/aoe/udev.txt @@ -0,0 +1,26 @@ +# These rules tell udev what device nodes to create for aoe support. +# They may be installed along the following lines. Check the section +# 8 udev manpage to see whether your udev supports SUBSYSTEM, and +# whether it uses one or two equal signs for SUBSYSTEM and KERNEL. +# +# ecashin@makki ~$ su +# Password: +# bash# find /etc -type f -name udev.conf +# /etc/udev/udev.conf +# bash# grep udev_rules= /etc/udev/udev.conf +# udev_rules="/etc/udev/rules.d/" +# bash# ls /etc/udev/rules.d/ +# 10-wacom.rules 50-udev.rules +# bash# cp /path/to/linux/Documentation/admin-guide/aoe/udev.txt \ +# /etc/udev/rules.d/60-aoe.rules +# + +# 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 +KERNEL=="etherd*", GROUP="disk" |