2005-04-16 22:20:36 +00:00
|
|
|
# These rules tell udev what device nodes to create for aoe support.
|
2008-02-08 12:20:02 +00:00
|
|
|
# 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.
|
2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# 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
|
2019-06-27 15:59:40 +00:00
|
|
|
# bash# cp /path/to/linux/Documentation/admin-guide/aoe/udev.txt \
|
2005-04-16 22:20:36 +00:00
|
|
|
# /etc/udev/rules.d/60-aoe.rules
|
|
|
|
#
|
|
|
|
|
|
|
|
# aoe char devices
|
2008-02-08 12:20:02 +00:00
|
|
|
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"
|
2008-02-08 12:20:03 +00:00
|
|
|
SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220"
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
# aoe block devices
|
2013-09-11 21:25:47 +00:00
|
|
|
KERNEL=="etherd*", GROUP="disk"
|