chiark / gitweb /
rules: fix typo in ide cd rule
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 10 Jan 2009 16:44:09 +0000 (17:44 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 10 Jan 2009 16:44:09 +0000 (17:44 +0100)
Thanks to Scott, who found that.

rules/rules.d/50-udev-default.rules

index 119941b..7730f0d 100644 (file)
@@ -68,7 +68,7 @@ KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitio
 
 # cdrom
 SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", GROUP="cdrom"
-SUBSYSTEM=="block", KERNEL=="hd[0-9]*", SUBSYSTEMS=="ide", ATTRS{media}=="cdrom", GROUP="cdrom"
+SUBSYSTEM=="block", KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="cdrom", GROUP="cdrom"
 SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom"
 KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k", GROUP="cdrom"
 KERNEL=="pktcdvd", NAME="pktcdvd/control", GROUP="cdrom"