Documentation/example.files/udev-raw.rules
raw| 1 | # Enter raw device bindings here. |
| 2 | # |
| 3 | # An example would be: |
| 4 | # ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N" |
| 5 | # to bind /dev/raw/raw1 to /dev/sda, or |
| 6 | # ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m" |
| 7 | # to bind /dev/raw/raw2 to the device with major 8, minor 1. |