dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone
fe1ca8
#
fe1ca8
# Enter raw device bindings here.
fe1ca8
#
fe1ca8
# An example would be:
fe1ca8
#   ACTION=="add", KERNEL=="sda", RUN+="/usr/bin/raw /dev/raw/raw1 %N"
fe1ca8
# to bind /dev/raw/raw1 to /dev/sda, or
fe1ca8
#   ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/usr/bin/raw /dev/raw/raw2 %M %m"
fe1ca8
# to bind /dev/raw/raw2 to the device with major 8, minor 1.