summaryrefslogtreecommitdiffstats
path: root/Documentation/example.files/udev-raw.rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
commit378c18e5f024ac5a8aef4cb40d7c9aa9633d144c (patch)
tree44dfb6ca500d32cabd450649b322a42e70a30683 /Documentation/example.files/udev-raw.rules
parentInitial commit. (diff)
downloadutil-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.tar.xz
util-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.zip
Adding upstream version 2.38.1.upstream/2.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Documentation/example.files/udev-raw.rules')
-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.