On 01/22/2008 07:32 PM, Juergen Weigert wrote:
I have attempted /etc/udev/rules.d/99-cdrom.conf
containing:
KERNEL=="dvd1" SYMLINK="cdrom", MODE="666" OPTIONS="last_rule"
udev happily ignores this rule. I'd expect to get a /dev/cdrom symlink. But nothing is created, even after reboot. Any hints how to debug?
It is controlled by 60-cdrom_id.rules, which calls a program called cdrom_id, and 70-persistent-cd.rules contains the rules created by the write_cd_rules script. For example, mine is: # This file was automatically generated by the /lib/udev/write_cd_rules # program, probably run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line # and set the $GENERATED variable. # DVD_RW_ND-3520AW (pci-0000:00:0f.1-scsi-1:0:0:0) ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1" -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org