linkpi_firmware_history/rootfs/etc/udev/rules.d/75-cd-aliases-generator.rul...

7 lines
390 B
Plaintext
Raw Permalink Normal View History

2024-02-15 22:07:30 +01:00
# these rules generate rules for the /dev/{cdrom,dvd,...} symlinks
# the path of removable devices changes frequently
ACTION=="add", SUBSYSTEM=="block", SUBSYSTEMS=="usb|ieee1394", ENV{ID_CDROM}=="?*", ENV{GENERATED}!="?*", PROGRAM="write_cd_rules by-id", SYMLINK+="%c"
ACTION=="add", SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{GENERATED}!="?*", PROGRAM="write_cd_rules", SYMLINK+="%c"