Minimalist FreeBSD 4.8

Peter Jeremy PeterJeremy at optushome.com.au
Wed Aug 27 02:02:39 PDT 2003


On Wed, Aug 27, 2003 at 10:53:38AM +1000, Greg Black wrote:
>On 2003-08-26, Diomidis Spinellis wrote:
>> You can use the system the way you intent to for two weeks, and then run
>> 
>> find / -atime +2w -print0 | xargs -0 rm -f
>> 
>> This command will delete all files that have not been accessed within
>> the last two weeks.  
>
>And it would also remove things like find and xargs and all the
>other system binaries -- their atime does not get changed when
>they are executed.  Check your facts before giving this kind of
>advice.

Not to mention /kernel and the contents of /boot since the bootloader
doesn't update atime either.  The result may be more minimalist than
Tyler intends.

Peter


More information about the freebsd-hackers mailing list