Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2007 13:01:06 -0400
From:      Robert Huff <>
Subject:   Why doesn't FreeBSD clear /tmp on bootup?
Message-ID:  <>
In-Reply-To: <>
References:  <>

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: <>