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