aboutsummaryrefslogtreecommitdiffstats
path: root/udev-config/doc/61-cdrom.txt
diff options
context:
space:
mode:
Diffstat (limited to 'udev-config/doc/61-cdrom.txt')
-rw-r--r--udev-config/doc/61-cdrom.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/udev-config/doc/61-cdrom.txt b/udev-config/doc/61-cdrom.txt
new file mode 100644
index 000000000..ff7887fe3
--- /dev/null
+++ b/udev-config/doc/61-cdrom.txt
@@ -0,0 +1,16 @@
+Purpose of rules file:
+
+This file re-assigns CD-ROM type devices to the "cdrom" group.
+
+
+Description of rules:
+
+There is only one rule here. It depends on the 60-persistent-storage file,
+though, because it requires the ID_TYPE environment variable to be set properly
+for CD devices. Normally the rules in the 60-persistent-storage.rules file
+will run the correct *_id programs to do this properly.
+
+If ID_TYPE is "cd", and this is a block device, and it's an add event, then we
+assign the device to the "cdrom" group. Simple, once the *_id programs have
+all been run.
+