blob: 1f06daf03f5ba5ee1fb69089057cef26ca57f286 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# These rules tell udev what device nodes to create for aoe support.
Ed L. Cashin468fc532008-02-08 04:20:02 -08002# They may be installed along the following lines. Check the section
3# 8 udev manpage to see whether your udev supports SUBSYSTEM, and
4# whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005#
6# ecashin@makki ~$ su
7# Password:
8# bash# find /etc -type f -name udev.conf
9# /etc/udev/udev.conf
10# bash# grep udev_rules= /etc/udev/udev.conf
11# udev_rules="/etc/udev/rules.d/"
12# bash# ls /etc/udev/rules.d/
13# 10-wacom.rules 50-udev.rules
14# bash# cp /path/to/linux-2.6.xx/Documentation/aoe/udev.txt \
15# /etc/udev/rules.d/60-aoe.rules
16#
17
18# aoe char devices
Ed L. Cashin468fc532008-02-08 04:20:02 -080019SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
20SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440"
21SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
22SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
Ed L. Cashin262bf542008-02-08 04:20:03 -080023SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220"
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
25# aoe block devices
Ed Cashin5173b412013-09-11 14:25:47 -070026KERNEL=="etherd*", GROUP="disk"