summaryrefslogtreecommitdiff
path: root/etc/udev/debian/simple-cd-aliases.rules
diff options
context:
space:
mode:
authorGreg KH <greg@press.(none)>2005-07-06 13:09:05 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-06 13:09:05 -0700
commit040e26dc99b84a122ddc4a5bee75f4772766078c (patch)
treedba1c630552558ba9f31ea93913aa141ab2ac53a /etc/udev/debian/simple-cd-aliases.rules
parent8815afa1df0dbb0b366156d4cebc56468906118c (diff)
Sync up the Debian rules files
Diffstat (limited to 'etc/udev/debian/simple-cd-aliases.rules')
-rw-r--r--etc/udev/debian/simple-cd-aliases.rules8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/udev/debian/simple-cd-aliases.rules b/etc/udev/debian/simple-cd-aliases.rules
index bd700bc29f..45ffeeac6b 100644
--- a/etc/udev/debian/simple-cd-aliases.rules
+++ b/etc/udev/debian/simple-cd-aliases.rules
@@ -1,5 +1,7 @@
# grouping of optical drives from multiple kernel subsystems
-BUS="scsi", KERNEL="sr[0-9]*", SYMLINK="cdrom%e"
-BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", SYMLINK="cdrom%e", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom"
-BUS="ide", KERNEL="pcd[0-9]*", SYSFS{removable}="1", SYMLINK="cdrom%e"
+BUS=="scsi", KERNEL=="sr[0-9]*", SYMLINK+="cdrom%e"
+BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", \
+ PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom", \
+ SYMLINK+="cdrom%e"
+BUS=="ide", KERNEL=="pcd[0-9]*", SYSFS{removable}=="1", SYMLINK+="cdrom%e"