1

DVD CD symlinks

view story
linux-howto

https://bbs.archlinux.org – tesjo wrote:Ok this is not elegant but it is working for me.I created file /etc/udev/rules.d/82-cdrom.rules as follows# Custom CD-ROM symlinks SUBSYSTEM=="block", KERNEL=="sr0", SYMLINK+="cdrom cdrw dvd dvdrw"I found in my other Gentoo box a /etc/udev/rules.d/70-persistent-cd.rules, which i adapted for this Archlinux machine :SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0", SYMLINK+="cdrom cdrw dvd", ENV{GENERATED}="1"It works, so far. And its filename matches the code at the (HowTos)