From owner-freebsd-questions Mon Mar 10 14:52:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F05A737B405 for ; Mon, 10 Mar 2003 14:52:45 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90DC943FDD for ; Mon, 10 Mar 2003 14:52:44 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.8/8.12.8) with ESMTP id h2AMqgeg064852; Tue, 11 Mar 2003 11:52:42 +1300 (NZDT) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.8/8.12.8/Submit) id h2AMqgoA064851; Tue, 11 Mar 2003 11:52:42 +1300 (NZDT) Date: Tue, 11 Mar 2003 11:52:42 +1300 From: Jonathan Chen To: Dick Hoogendijk Cc: freebsd-questions Subject: Re: tmp directory Message-ID: <20030310225242.GA64810@grimoire.chen.org.nz> References: <20030310212422.GA21988@pooh.nagual.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030310212422.GA21988@pooh.nagual.st> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 10, 2003 at 10:24:22PM +0100, Dick Hoogendijk wrote: > Debian linux cleans it's /tmp on every reboot (IF you reboot ;-) > FreeBSD does not clean up. Lots of files stay in /tmp > > Question: can I manually clean /tmp or is it better to leave things > alone..?? You can do a clean on reboot by adding in /etc/rc.conf: clear_tmp_enable="YES" # Clear /tmp at startup. You can alternatively get your system to clear /tmp periodically by adding into /etc/periodic.conf: daily_clean_tmps_enable="YES" # Delete stuff daily Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "If everything's under control, you're going too slow" - Mario Andretti To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message