cvs commit: src/share/examples/etc make.conf
Dag-Erling Smørgrav
des at des.no
Fri Mar 4 13:55:14 GMT 2005
Philip Paeps <philip at FreeBSD.org> writes:
> Perhaps we could modify mergemaster to do a find -mtime +1 or something to
> that effect? If we can assume that mergemaster is run sometime 'soon' after
> an installworld?
I use the attached script.
DES
--
Dag-Erling Smørgrav - des at des.no
-------------- next part --------------
#!/bin/sh
dirs="bin lib libexec rescue sbin"
dirs="${dirs} usr/bin usr/sbin usr/lib usr/libdata usr/libexec"
cd /
ref=$(stat -f%m /sbin/init)
find ${dirs} -type f -not -name "*.old" |
grep -v "libexec/ld-elf.so.1" |
while read file ; do
time=$(stat -f%m "${file}")
if [ $((ref - time)) -gt $((${1:-24} * 3600)) ] ; then
echo "/${file}"
fi
done
More information about the cvs-src
mailing list