From owner-cvs-all Fri Jun 9 2: 9:33 2000 Delivered-To: cvs-all@freebsd.org Received: from server.baldwin.CX (dsl081-006-051.dsl-isp.net [64.81.6.51]) by hub.freebsd.org (Postfix) with ESMTP id 08F8B37C36C; Fri, 9 Jun 2000 02:08:31 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by server.baldwin.CX (8.9.3/8.9.3) id FAA00627; Fri, 9 Jun 2000 05:08:25 -0400 (EDT) (envelope-from john) Message-Id: <200006090908.FAA00627@server.baldwin.CX> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 09 Jun 2000 05:08:25 -0400 (EDT) Organization: BSD, Inc. From: John Baldwin To: Bruce Evans Subject: Re: cvs commit: src/etc/periodic/daily 110.clean-tmps Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Brian Somers , Jeroen Ruigrok van der Werven Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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