[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: being clean -- non package file detection



Hi,

	Someone did once present a (slow) script that essentially did
 a find / -type f -print| sort kinda thing, and store the output in a file,
 sorted, and then cat /var/lib/dpkg/info/*.list | sort; and then did a
 diff on the two files.

	Took ages; but did what you want to do. Pretty simple,
 too. Enhance it to look at /fstab, and exclude /home and /var and /opt
 and /usr/local, you may have a general check going.

	manoj
 who does not at the moment have time to mess with this
-- 
 Idleness is the holiday of fools. --anonymous
Manoj Srivastava  <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


Reply to: