diff options
Diffstat (limited to 'etc/udev/debian/cd-aliases.rules')
-rw-r--r-- | etc/udev/debian/cd-aliases.rules | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/etc/udev/debian/cd-aliases.rules b/etc/udev/debian/cd-aliases.rules index 7137527628..b96d3a571d 100644 --- a/etc/udev/debian/cd-aliases.rules +++ b/etc/udev/debian/cd-aliases.rules @@ -3,9 +3,15 @@ # # If you would like to statically configure the aliases instead, you can # use rules like: -# BUS="ide", ID="1.0", SYMLINK="cdrom" +# BUS=="ide", ID=="1.0", SYMLINK+="cdrom" -BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}" -BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}" -BUS="ide", KERNEL="pcd[0-9]*", SYSFS{removable}="1", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}" +BUS=="scsi", KERNEL=="sr[0-9]*", \ + PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", \ + SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}" +BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", \ + PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", \ + SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}" +BUS=="ide", KERNEL=="pcd[0-9]*", SYSFS{removable}=="1", \ + PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", \ + SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}" |