Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2007 13:01:06 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-questions@freebsd.org
Subject:   Why doesn't FreeBSD clear /tmp on bootup?
Message-ID:  <17978.5458.302635.388935@jerusalem.litteratus.org>
In-Reply-To: <e14997e00705030937h50cedea7j1978de09f37542ca@mail.gmail.com>
References:  <e14997e00705030937h50cedea7j1978de09f37542ca@mail.gmail.com>

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

>  I've seen OpenBSD and some other variants of Unix clearing /tmp on
>  bootup. But FreeBSD doesn't seem to do so.

	Look deeper, Grasshopper.

huff@>> grep -i tmp /etc/rc.conf
clear_tmp_enable="YES"  # Clear /tmp at startup.

	This is set to NO in /etc/defaults/rc,conf.
	As to why ... for their own reasons some folks put things in
/tmp they don't want to vanish.



					Robert Huff



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