On Oct 29, Reuben Thomas <[EMAIL PROTECTED]> wrote: > In this particular case, I assert that it is a bug, because it was the > same CD drive plugged in to two different USB host adapters, but in > each case it was the only CD drive plugged into my system, so it seems > reasonable that it should be /dev/cdrom, so that many common programs > that default to this device name will find it. udev packages >= 0.103-1 contain a new write_cd_rules script which provides a workaround. To enable it replace
PROGRAM="write_cd_rules"
with
PROGRAM="write_cd_rules by-id"
in /etc/udev/rules.d/z75_cd-aliases-generator.rules .
It would be nice to automatically generate by-id rules for USB devices,
but I do not own one and I'd rather not introduce an untested change
shortly before the release. If you want to help me testing this please
do not modify that rule and instead add this one *before it* in the file:
ACTION=="add", SUBSYSTEM=="block", ENV{GENERATED}!="?*", ENV{ID_CDROM}=="?*", \
SUBSYSTEMS=="usb", \
PROGRAM="write_cd_rules by-id", SYMLINK+="%c"
In both cases you need to delete the z25_persistent-cd.rules file to
allow creating new rules.
--
ciao,
Marco
signature.asc
Description: Digital signature

