summaryrefslogtreecommitdiffstats
path: root/Documentation/example.files/udev-raw.rules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Documentation/example.files/udev-raw.rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/example.files/udev-raw.rules b/Documentation/example.files/udev-raw.rules
new file mode 100644
index 0000000..3f0e8cb
--- /dev/null
+++ b/Documentation/example.files/udev-raw.rules
@@ -0,0 +1,7 @@
+# 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.