^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # These rules tell udev what device nodes to create for aoe support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) # They may be installed along the following lines. Check the section
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # 8 udev manpage to see whether your udev supports SUBSYSTEM, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) # whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) # ecashin@makki ~$ su
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) # Password:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) # bash# find /etc -type f -name udev.conf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) # /etc/udev/udev.conf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) # bash# grep udev_rules= /etc/udev/udev.conf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) # udev_rules="/etc/udev/rules.d/"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) # bash# ls /etc/udev/rules.d/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) # 10-wacom.rules 50-udev.rules
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) # bash# cp /path/to/linux/Documentation/admin-guide/aoe/udev.txt \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) # /etc/udev/rules.d/60-aoe.rules
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) # aoe char devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) # aoe block devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) KERNEL=="etherd*", GROUP="disk"