Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jun 2000 05:08:25 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Brian Somers <brian@FreeBSD.org>, Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>
Subject:   Re: cvs commit: src/etc/periodic/daily 110.clean-tmps
Message-ID:  <200006090908.FAA00627@server.baldwin.CX>
In-Reply-To: <Pine.BSF.4.21.0006082303520.626-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08-Jun-00 Bruce Evans wrote:
> On Thu, 8 Jun 2000, Jeroen Ruigrok van der Werven wrote:
> 
>> -On [20000608 10:50], Brian Somers (brian@FreeBSD.org) wrote:
>> >brian       2000/06/08 01:48:16 PDT
>> >
>> >  Modified files:
>> >    etc/periodic/daily   110.clean-tmps 
>> >  Log:
>> >  Clean /tmp and /var/tmp if $clear_tmp_enable is set to YES in rc.conf
>> 
>> I disagree with this on the pure and simple notion that it comflicts
>> with the description of it in hier(7).
> 
> hier(7) only describes the (not very useful) cleaning that happens at
> boot time.
> 
> Periodic cleaning needs to be much more conservative for /var/tmp than
> for /tmp (if clear_tmp_enable is set).  /tmp may be fully cleaned without
> warning at any time because the system may crash at any time :-).

Well, that's not quite the same, though.  If a program is using a
file in /tmp, the program doesn't stop just because the cron job is
run, but it does stop for the crash.

> Bruce

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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