(Jun 17 2005 18:29) Christian Haugan Toldnes wrote:
> If you also want a list of files on the system not owned by any package,
> you can do something like:
> 
> for file in `find / -type f | grep -v "^/home/users"`; do
>       rpm -qf $file || echo $file
> done
> 
> This will give you a list of files on the system not owned by any
> package installed. Together with 'rpm -V' and 'swup --list-alien' you
> should get a good overview of the status of your system.


Should be:
for file in `find / -type f | grep -v "^/home/users"`; do \
      rpm -qf $file > /dev/null || echo $file \
done

Beware that many files are generated by installed software, specially is
this true for files in /var.


c

-- 
Christian H. Toldnes
Trustix Developer
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to