public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Cruft detecting script
@ 2003-03-02 16:44 Andy Arbon
  2003-03-02 17:12 ` Brian Jackson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andy Arbon @ 2003-03-02 16:44 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've been wondering about writing a cruft detecting script.. The basic
idea would be:
* Produce a list of every file that Portage claims responsibility for on
the current system (ie. the results of qpkg -l `qpkg -I`)
* Produce a list of every file in the system (ie. find /)
* Remove the first set from the second
* Whatever's left is 'cruft'

The above needs to be tweaked so that find doesn't look in areas that
are not used for system things, eg. /home, /tmp etc.

Has anyone written something like this, and does anyone have any reason
why something like this wouldn't work or be useful?

Cheers,

Andy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+YjTeX3TTUvZURBERAhcmAKCgpIMVRugO9gbeKvTKG+TgObI0pgCeO4fb
bRqkUTm51aLUB8/Lpn5J1BQ=
=4xNI
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-03-03 23:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-02 16:44 [gentoo-dev] Cruft detecting script Andy Arbon
2003-03-02 17:12 ` Brian Jackson
2003-03-02 18:05   ` Mark Gordon
2003-03-03  8:41     ` Ian Phillips
2003-03-03 15:22     ` Gareth John
2003-03-03 19:19 ` Sami Dalouche
2003-03-03 23:06 ` Evan Powers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox