Alexander E. Patrakov wrote:
Bruce Dubbs wrote:


I put the rule at /etc/udev/rules.d/23-usb-rules, which comes before the
25-lfs-rules.  My understanding, admittedly incomplete, is that the
first rule encountered will be executed and others skipped.  Is this not
true?


This is not true.


Just to clarify, the later rules will continue to process and they are cumulative. This has been the case for some time now. I don't remember the version where it changed, actually I think it was 057, but I'm not sure and it doesn't matter anyway. To get the old functionality, you can add 'OPTIONS="last_rule"' to the last rule that you want to be interpreted.

And this is where it gets hairy for me, but if I understand it correctly, that option could have a nasty side effect. ISTM that rules need to be very specific if you use it, else you may break something else down the chain. IOW, I _think_ that a very open rule, like one that contains just a subsystem, a group, and the last_rule option, could choke the rest in the chain that match the subsystem, but I'm not positive. Others probably know better than I, but I felt an explanation was in order as opposed to the strait answer. I've been very careful with that option on my own system, but if anybody can confirm or deny my suspicion, it'd be appreciated.

HTH

-- DJ Lucas
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to