# 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"

