blob: 6b178a0ae7cc3b4c19fba5243e47ab536af9205a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# These rules generate rules for the /dev/{cdrom,dvd,...} symlinks and
# write them to /etc/udev/rules.d/70-persistent-cd.rules.
ACTION=="add", SUBSYSTEM=="block", ENV{GENERATED}!="?*", ENV{ID_CDROM}=="?*", \
SUBSYSTEMS!="usb|ieee1394", \
PROGRAM="write_cd_rules", SYMLINK+="$result"
ACTION=="add", SUBSYSTEM=="block", ENV{GENERATED}!="?*", ENV{ID_CDROM}=="?*", \
SUBSYSTEMS=="usb|ieee1394", \
PROGRAM="write_cd_rules by-id", SYMLINK+="$result"
|