1 |
On Sunday 02 March 2003 10:44 am, Andy Arbon wrote: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA1 |
4 |
> |
5 |
> Hello, |
6 |
> |
7 |
> I've been wondering about writing a cruft detecting script.. The basic |
8 |
> idea would be: |
9 |
> * Produce a list of every file that Portage claims responsibility for on |
10 |
> the current system (ie. the results of qpkg -l `qpkg -I`) |
11 |
> * Produce a list of every file in the system (ie. find /) |
12 |
> * Remove the first set from the second |
13 |
> * Whatever's left is 'cruft' |
14 |
> |
15 |
> The above needs to be tweaked so that find doesn't look in areas that |
16 |
> are not used for system things, eg. /home, /tmp etc. |
17 |
> |
18 |
> Has anyone written something like this, and does anyone have any reason |
19 |
> why something like this wouldn't work or be useful? |
20 |
|
21 |
I think this could be very useful to some, but not very useful for others. I |
22 |
often install software not using an ebuild, so for me it would detect some of |
23 |
the stuff that I installed without an ebuild. |
24 |
|
25 |
--Brian |
26 |
|
27 |
> |
28 |
> Cheers, |
29 |
> |
30 |
> Andy |
31 |
> |
32 |
> -----BEGIN PGP SIGNATURE----- |
33 |
> Version: GnuPG v1.2.1 (GNU/Linux) |
34 |
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
35 |
> |
36 |
> iD8DBQE+YjTeX3TTUvZURBERAhcmAKCgpIMVRugO9gbeKvTKG+TgObI0pgCeO4fb |
37 |
> bRqkUTm51aLUB8/Lpn5J1BQ= |
38 |
> =4xNI |
39 |
> -----END PGP SIGNATURE----- |
40 |
|
41 |
|
42 |
-- |
43 |
gentoo-dev@g.o mailing list |