[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] finding un-owned files (was Unmerging and CONFIG_PROTECT)
From: Jason Stubbs <jstubbs () gentoo ! org>
Date: 2004-02-28 0:15:58
Message-ID: 200402280915.58822.jstubbs () gentoo ! org
[Download RAW message or body]
On Saturday 28 February 2004 07:35, Paul de Vrieze wrote:
> On Friday 27 February 2004 22:27, Heinrich Wendel wrote:
> > Am Friday 27 February 2004 22:16 schrieb William Hubbs:
> > > Hi all,
> > >
> > > I'm not sure if this should go on -dev or -user, but is there a way to
> > > find out which files on your system are not owned by a package?
> > >
> > > Something like this might be a nice feature to ad to equery?
> > >
> > > I'm considering filing a bug, but let me know what you think.
> >
> > I made a little script for that once (attached), it's quite slow though.
>
> What is faster is the following:
<snip>
> This will create a list of ALL files that are not known to portage, if you
> want to make it faster for subdirs you probably need to tweak it a bit,
> also you might want to filter out other dirs than /proc too (think /sys,
> /home)
I used a similar method to get a list of orphaned files. The problem is,
though, that there are many files that exist that were never owned by any
package. For example /etc/hostname.
Regards,
Jason Stubbs
--
gentoo-dev@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic