chiark / gitweb /
Sync up the Debian rules files
[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]*", \
9         PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", \
10         SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
11 BUS=="ide",  KERNEL=="hd[a-z]",   SYSFS{removable}=="1", \
12         PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", \
13         SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
14 BUS=="ide",  KERNEL=="pcd[0-9]*", SYSFS{removable}=="1", \
15         PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", \
16         SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
17