Files
systemd/etc/udev/debian/cd-aliases.rules
Kay Sievers 449ac79193 update Debian rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18 05:34:05 +02:00

16 lines
538 B
Plaintext

# These rules create the /dev/{cdrom,dvd,...} symlinks.
#
# If you would like to statically configure the aliases instead, you can
# use rules like:
# BUS=="ide", ID=="1.0", SYMLINK+="cdrom"
# The variables for IDE devices are imported in permissions.rules.
BUS=="scsi", KERNEL=="sr[0-9]*", ACTION=="add", \
IMPORT{program}="/sbin/cdrom_id --export $tempnode"
ENV{ID_CDROM}=="?*", SYMLINK+="cdrom%e"
ENV{ID_CDROM_CD_RW}=="?*", SYMLINK+="cdrw%e"
ENV{ID_CDROM_DVD}=="?*", SYMLINK+="dvd%e"
ENV{ID_CDROM_DVD_R}=="?*", SYMLINK+="dvdrw%e"