blob: 22f710032b012785323d398994781b878d0d6da1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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"
|