linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FYI: /lib/udev/rules.d/  /etc/udev/rules.d/ and duplicated rules
@ 2008-08-09 12:21 Kay Sievers
  2008-08-09 15:24 ` FYI: /lib/udev/rules.d/ /etc/udev/rules.d/ and duplicated Marco d'Itri
  0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2008-08-09 12:21 UTC (permalink / raw)
  To: linux-hotplug

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FYI: /lib/udev/rules.d/  /etc/udev/rules.d/ and duplicated
  2008-08-09 12:21 FYI: /lib/udev/rules.d/ /etc/udev/rules.d/ and duplicated rules Kay Sievers
@ 2008-08-09 15:24 ` Marco d'Itri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco d'Itri @ 2008-08-09 15:24 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

On Aug 09, Kay Sievers <kay.sievers@vrfy.org> wrote:

> 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"...

-- 
ciao,
Marco

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-09 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09 12:21 FYI: /lib/udev/rules.d/ /etc/udev/rules.d/ and duplicated rules Kay Sievers
2008-08-09 15:24 ` FYI: /lib/udev/rules.d/ /etc/udev/rules.d/ and duplicated Marco d'Itri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).