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:
2
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.
9
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.
15
16 You could start with
17
18 qfile -o $(find /etc -type f)
19
20
21 --
22
23 Neil Bothwick
24
25 Why are love and relationships so confusing?

Attachments

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

Replies

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