Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cruft in /etc. How to clean in out.
Date: Wed, 26 Nov 2008 15:03:46
Message-Id: 20081126150333.05556df5@krikkit
In Reply to: [gentoo-user] cruft in /etc. How to clean in out. by Dale
1 On Wed, 26 Nov 2008 07:53:59 -0600, Dale wrote:
3 > I got a old install, about 5 years or so. I got a lot of "stuff" in
4 > /etc, and no telling where else, that belongs to nothing. Is there a
5 > way, hopefully with something in portage, to clean out this unclaimed
6 > "stuff"? I searched the forums but didn't find anything on there that
7 > was recent at least. Found one about as old as my install tho. equery
8 > list -p cruft didn't show anything either.
10 qfile will find orphanded files with the -o option. I used this the
11 other way round last week when I lost all of /var (it appears reiserfs,
12 LVM2 and the Eee's SSD is not a good combination). I used qfile -o to
13 identify all the orphaned files, then identified the owning packages and
14 rebuilt the package database by running emerge -K for each one.
16 You could start with
18 qfile -o $(find /etc -type f)
21 --
23 Neil Bothwick
25 Why are love and relationships so confusing?


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


Subject Author
Re: [gentoo-user] cruft in /etc. How to clean in out. Jorge Peixoto de Morais Neto <×××××.com>