util-linux/example.files/udev-raw.rules
Karel Zak b6b6c3e3eb raw: add file with udev rule example
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-26 20:06:38 +01:00

11 lines
452 B
Text

# This file and interface are deprecated.
# Applications needing raw device access should open regular
# block devices with O_DIRECT.
#
# Enter raw device bindings here.
#
# An example would be:
# ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N"
# to bind /dev/raw/raw1 to /dev/sda, or
# ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m"
# to bind /dev/raw/raw2 to the device with major 8, minor 1.