|
Subject: Cruft detecting script Newsgroups: gmane.linux.gentoo.devel Date: 2003-03-02 16:44:15 GMT (6 years, 17 weeks, 6 days, 16 hours and 58 minutes ago) 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 |
|
|