summaryrefslogtreecommitdiff
path: root/udev/81-cdrom.rules
diff options
context:
space:
mode:
Diffstat (limited to 'udev/81-cdrom.rules')
-rw-r--r--udev/81-cdrom.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/81-cdrom.rules b/udev/81-cdrom.rules
new file mode 100644
index 0000000..cb7ea57
--- /dev/null
+++ b/udev/81-cdrom.rules
@@ -0,0 +1,3 @@
+# /etc/udev/rules.d/81-cdrom.rules: Set CD-ROM permissions and get device capabilities
+
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", IMPORT{program}="cdrom_id --export $tempnode", GROUP="cdrom"