chiark / gitweb /
rules: restore rule to set cdrom group for optical drives
[elogind.git] / rules / rules.d / 50-udev-default.rules
index b31ac42..3ef6783 100644 (file)
@@ -70,6 +70,7 @@ SUBSYSTEM=="block", GROUP="disk"
 SUBSYSTEM=="block", KERNEL=="fd[0-9]", GROUP="floppy"
 
 # cdrom
+SUBSYSTEM=="block", KERNEL=="sr[0-9]*". GROUP="cdrom"
 SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom"
 KERNEL=="pktcdvd[0-9]*", GROUP="cdrom"
 KERNEL=="pktcdvd", GROUP="cdrom"