Am Dienstag, 25. April 2006 20:34 schrieb Marco d'Itri:
Hi Marco!

Sorry, I'm bothering you again. 

> > previously generated links ("cdrom"). In this case my link for the
> > internal drive was gone and simply overwritten. Is this the expected
> > behaviour? Is there manual editing of the automatically generated rules
> > required? Or is this simply a bug?
>
> This is a bug which I cannot explain right now and I need to investigate.

This bug showed up again with version 0.092-1 from incoming. I tested it to 
check, if my cardreader now is not recognized as a cdrom (Bug#367265). But 
unfortunately, the symlinks are again the same for my internal and my USB 
cdrom drive:

tail -f  /etc/udev/rules.d/z25_persistent-cd.rules

# UJDA745_DVDCDRW (pci-0000:00:1f.1-ide-1:0)
ENV{ID_CDROM}=="?*", BUS=="ide", ID=="1.0", SYMLINK+="cdrom", 
ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", BUS=="ide", ID=="1.0", SYMLINK+="cdrw", 
ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", BUS=="ide", ID=="1.0", SYMLINK+="dvd", ENV{GENERATED}="1"
# USB_Storage_Adapter (pci-0000:00:1d.7-usb-0:3.2:1.0-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", 
ENV{ID_PATH}=="pci-0000:00:1d.7-usb-0:3.2:1.0-scsi-0:0:0:0", 
SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", 
ENV{ID_PATH}=="pci-0000:00:1d.7-usb-0:3.2:1.0-scsi-0:0:0:0", SYMLINK+="cdrw", 
ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", 
ENV{ID_PATH}=="pci-0000:00:1d.7-usb-0:3.2:1.0-scsi-0:0:0:0", SYMLINK+="dvd", 
ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", 
ENV{ID_PATH}=="pci-0000:00:1d.7-usb-0:3.2:1.0-scsi-0:0:0:0", 
SYMLINK+="dvdrw", ENV{GENERATED}="1"

I did not reboot to test this. I simply installed the new udev version, 
deleted the /etc/udev/rules.d/z25_persistent-cd.rules file, removed both 
drives and restartet udev. Then I connected both drives, the USB drive after 
udev has successfully created the rules for the internal one.

regards,
Jörg

Reply via email to