1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
systemd/etc/udev/debian/cd-aliases.rules

18 lines
691 B
Plaintext
Raw Normal View History

2004-12-09 04:09:40 +03:00
# These rules create the /dev/{cdrom,dvd,...} symlinks. Also see the
# /etc/udev/cdsymlinks.conf config file.
#
# If you would like to statically configure the aliases instead, you can
# use rules like:
2005-07-07 00:09:05 +04:00
# BUS=="ide", ID=="1.0", SYMLINK+="cdrom"
2004-12-09 04:09:40 +03:00
2005-07-07 00:09:05 +04:00
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}"
2004-12-09 04:09:40 +03:00