On Wed, Jul 27, 2005 at 05:12:53PM +0300, Michael Green wrote:
> I'm looking for script that will traverse filesystem of an RPM-based
> distro and find files that do not belong to any RPM.

I do not know about such a thing, but I happend to do a few times
something like
rpm -qal | sort > file1
find / | sort > file2
Then diff file1 file2.
Of course, the diff will be very big. Some of it you can skip/delete
automatically - e.g. /dev (if you have devfs or udev). A good script
will do this for you, but even without one, it's not that hard.
-- 
Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to