1 # These rules tell udev what device nodes to c 1 # These rules tell udev what device nodes to create for aoe support. 2 # They may be installed along the following li 2 # They may be installed along the following lines. Check the section 3 # 8 udev manpage to see whether your udev supp 3 # 8 udev manpage to see whether your udev supports SUBSYSTEM, and 4 # whether it uses one or two equal signs for S 4 # whether it uses one or two equal signs for SUBSYSTEM and KERNEL. 5 # 5 # 6 # ecashin@makki ~$ su 6 # ecashin@makki ~$ su 7 # Password: 7 # Password: 8 # bash# find /etc -type f -name udev.conf 8 # bash# find /etc -type f -name udev.conf 9 # /etc/udev/udev.conf 9 # /etc/udev/udev.conf 10 # bash# grep udev_rules= /etc/udev/udev.conf 10 # bash# grep udev_rules= /etc/udev/udev.conf 11 # udev_rules="/etc/udev/rules.d/" 11 # udev_rules="/etc/udev/rules.d/" 12 # bash# ls /etc/udev/rules.d/ 12 # bash# ls /etc/udev/rules.d/ 13 # 10-wacom.rules 50-udev.rules 13 # 10-wacom.rules 50-udev.rules 14 # bash# cp /path/to/linux/Documentation/admi 14 # bash# cp /path/to/linux/Documentation/admin-guide/aoe/udev.txt \ 15 # /etc/udev/rules.d/60-aoe.rules 15 # /etc/udev/rules.d/60-aoe.rules 16 # 16 # 17 17 18 # aoe char devices 18 # aoe char devices 19 SUBSYSTEM=="aoe", KERNEL=="discover", NAME=" 19 SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220" 20 SUBSYSTEM=="aoe", KERNEL=="err", NAME=" 20 SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440" 21 SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME=" 21 SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220" 22 SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME=" 22 SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220" 23 SUBSYSTEM=="aoe", KERNEL=="flush", NAME=" 23 SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220" 24 24 25 # aoe block devices 25 # aoe block devices 26 KERNEL=="etherd*", GROUP="disk" 26 KERNEL=="etherd*", GROUP="disk"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.