chiark / gitweb /
713752762816ce4254fd42ea558ea135bd165a3a
[elogind.git] / etc / udev / debian / cd-aliases.rules
1 # These rules create the /dev/{cdrom,dvd,...} symlinks. Also see the
2 # /etc/udev/cdsymlinks.conf config file.
3 #
4 # If you would like to statically configure the aliases instead, you can
5 # use rules like:
6 # BUS="ide", ID="1.0", SYMLINK="cdrom"
7
8 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}"
9 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}"
10 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}"
11