Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # These rules tell udev what device nodes to create for aoe support. |
| 2 | # They may be installed along the following lines (adjusted to what |
| 3 | # you see on your system). |
| 4 | # |
| 5 | # ecashin@makki ~$ su |
| 6 | # Password: |
| 7 | # bash# find /etc -type f -name udev.conf |
| 8 | # /etc/udev/udev.conf |
| 9 | # bash# grep udev_rules= /etc/udev/udev.conf |
| 10 | # udev_rules="/etc/udev/rules.d/" |
| 11 | # bash# ls /etc/udev/rules.d/ |
| 12 | # 10-wacom.rules 50-udev.rules |
| 13 | # bash# cp /path/to/linux-2.6.xx/Documentation/aoe/udev.txt \ |
| 14 | # /etc/udev/rules.d/60-aoe.rules |
| 15 | # |
| 16 | |
| 17 | # aoe char devices |
| 18 | SUBSYSTEM="aoe", KERNEL="discover", NAME="etherd/%k", GROUP="disk", MODE="0220" |
| 19 | SUBSYSTEM="aoe", KERNEL="err", NAME="etherd/%k", GROUP="disk", MODE="0440" |
| 20 | SUBSYSTEM="aoe", KERNEL="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220" |
| 21 | |
| 22 | # aoe block devices |
| 23 | KERNEL="etherd*", NAME="%k", GROUP="disk" |