Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 19:02:16 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Diomidis Spinellis <dds@aueb.gr>
Cc:        Tyler Kellen <tyler@statuo.com>
Subject:   Re: Minimalist FreeBSD 4.8
Message-ID:  <20030827090215.GA77912@cirb503493.alcatel.com.au>
In-Reply-To: <nospam-1061945619.46314@gw.gbch.net>
References:  <000001c36bef$da8d1260$a700000a@TYBOX> <3F4BAF61.A2D681B0@aueb.gr> <nospam-1061945619.46314@gw.gbch.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030827090215.GA77912>