summaryrefslogtreecommitdiff
path: root/extras/chassis_id/udev.rules
diff options
context:
space:
mode:
Diffstat (limited to 'extras/chassis_id/udev.rules')
-rw-r--r--extras/chassis_id/udev.rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/chassis_id/udev.rules b/extras/chassis_id/udev.rules
new file mode 100644
index 0000000000..b1618c1b0b
--- /dev/null
+++ b/extras/chassis_id/udev.rules
@@ -0,0 +1,7 @@
+# There are a number of modifiers that are allowed to be used in some of the
+# fields. See the udev man page for a full description of them.
+#
+# See the udev.rules.examples file for more examples of how to create rules
+#
+
+BUS="scsi", PROGRAM="/usr/local/bin/chassis_id", NAME="/chassis%c{1}/slot%c{2}/%c{3}"