On Wed, 26 Nov 2008 07:53:59 -0600, Dale wrote: > I got a old install, about 5 years or so. I got a lot of "stuff" in > /etc, and no telling where else, that belongs to nothing. Is there a > way, hopefully with something in portage, to clean out this unclaimed > "stuff"? I searched the forums but didn't find anything on there that > was recent at least. Found one about as old as my install tho. equery > list -p cruft didn't show anything either.
qfile will find orphanded files with the -o option. I used this the other way round last week when I lost all of /var (it appears reiserfs, LVM2 and the Eee's SSD is not a good combination). I used qfile -o to identify all the orphaned files, then identified the owning packages and rebuilt the package database by running emerge -K for each one. You could start with qfile -o $(find /etc -type f) -- Neil Bothwick Why are love and relationships so confusing?
signature.asc
Description: PGP signature