Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] /etc/udev/rules.d nightmare - orphaned files in /etc
Date: Sat, 25 Nov 2006 17:44:52
Message-Id: 45688066.4090206@gentoo.org
In Reply to: [gentoo-dev] /etc/udev/rules.d nightmare - orphaned files in /etc by "Sven Köhler"
1 Sven Köhler kirjoitti:
2 > Hi,
3 >
4 > i had some orphaned files in /etc/udev/rules.d. Namely 40-fuse.rules and
5 > 60-fuse.rules.
6 >
7 > The files were never removed, since they are protected - aren't they?
8 >
9
10 Yeah config protected files are never removed. That is the whole point
11 of configuration file protection. It would't be that bad to turn off
12 configuration projection for /etc/udev/rules.d like we do for
13 /etc/env.d, but that is for the udev maintainers to decide. In the
14 meantime you can use something like the following to find orphaned udev
15 rules:
16
17 for file in /etc/udev/rules.d/*; do qfile $file || echo $file "is
18 orphaned"; done
19
20 Regards,
21 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] /etc/udev/rules.d nightmare II - orphaned files return! Drake Wyrm <wyrm@×××××.com>