61-cdrom.txt 572 B

12345678910111213141516
  1. Purpose of rules file:
  2. This file re-assigns CD-ROM type devices to the "cdrom" group.
  3. Description of rules:
  4. There is only one rule here. It depends on the 60-persistent-storage file,
  5. though, because it requires the ID_TYPE environment variable to be set properly
  6. for CD devices. Normally the rules in the 60-persistent-storage.rules file
  7. will run the correct *_id programs to do this properly.
  8. If ID_TYPE is "cd", and this is a block device, and it's an add event, then we
  9. assign the device to the "cdrom" group. Simple, once the *_id programs have
  10. all been run.