FYI: /lib/udev/rules.d/ /etc/udev/rules.d/ and duplicated rules
I've committed a change, to ignore rules files with identical file names found in /lib/udev/rules.d/, /etc/udev/rules.d/ and /dev/.udev/rules.d/.
The files in /etc/udev/rules/ (and /dev/.udev/rules.d/) have precedence over files in /lib/udev/rules.d/. This allows the custom system config in /etc to overwrite whole rules files of the default rules. If empty files are created, udev will completely ignore the default rules files with the same name.
Thanks,
Kay
Re: FYI: /lib/udev/rules.d/ /etc/udev/rules.d/ and duplicated
Quoted 5 lines · Kay Sievers
The files in ???/etc/udev/rules/ (and
/dev/.udev/rules.d/) have precedence over files in/lib/udev/rules.d/. This allows the custom system config in /etc to overwrite whole rules files of the default rules. If empty files are created, udev will completely ignore the default rules files with the same name.
This looks like another case of "my packaging system sucks at managing configuration files"...
Signature · 2 lines
ciao, Marco