+++ This bug was initially created as a clone of Bug #259495 +++ This is still an issue with udev-149. I have created my own custom udev rules in /etc/udev/rules.d/70-persistent-cd.rules, and every boot it keeps adding additional symlinks for the same devices. I have set persistent_cd_disable="yes" in /etc/conf.d/udev to no avail--it keeps doing it. This is really annoying, since it makes configuring some gui apps a pain when devices show up two/three times. (I have 3 optical drives, thus xxx0-2 is already a lot of links, I don't need xxx3-5 as well) The rules I create are of the form: ATTRS{vendor}=="LITE-ON ", ATTRS{model}=="DVDRW LH-20A1P ", SYMLINK+="cdrom" The rules it keeps generating are like: SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:06.0-scsi-1:0:0:0", SYMLINK+="cdrom5", ENV{GENERATED}="1" My rule is more specific. I should hope it would be able to see that the device has already been matched by a rule and not generate a new one. I don't specify pci/scsi device path in my rule because sometimes I change around my hardware and the last thing I want is a moving target--that's the whole point of udev naming rules. I just need a way to turn this behavior off. Reproducible: Always
(In reply to comment #0) > ATTRS{vendor}=="LITE-ON ", ATTRS{model}=="DVDRW LH-20A1P ", SYMLINK+="cdrom" You haven't set ENV{GENERATED}="1" > I should hope it would be able to see that the device > has already been matched by a rule There are ENV{GENERATED}="1" or OPTIONS="last_rule" to modify control flow. I think you should post such user questions in the forums: bugzilla is not meant for general user support.
Does what Martin said, helps you? see also http://www.gentoo.org/doc/en/udev-guide.xml . If you 're *sure* that you want from us to proccess this bug you are free to reopen it. I resolve it as NEEDINFO. (Paste your emerge --info" and "emerge -pv udev" output, if you reopen.) Thank you for your report.