On Wed, Apr 22, 2009 at 9:19 AM, Tobias Powalowski <t.powa@gmx.de> wrote:
Am Mittwoch 22 April 2009 schrieb Damjan Georgievski:
What is the policy for Udev rules in ArchLinux?
There are 2 places where udev rules can be placed, /lib/udev/rules.d/ and /etc/udev/rules.d/. Now, I think the /lib/ directory should be only for the rules coming from upstream udev, and the /etc/ directory is for rules coming from ArchLinux packages.
If this is the policy everyone agrees on - and as far as I remember, udev devs recommends it too - maybe namcap can check that too?
ps. the KVM package now has rules in /lib/ , so I'll open a bug report if that's not supposed to be like that. Normally udev rules should go to /lib that the user can override them with /etc rule file.
Yeah, I'm fairly certain this is the case - if you copy a rule file to /etc from /lib, you can make changes and it will use that one instead of /lib. In theory.