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