Why doesn't FreeBSD clear /tmp on bootup?

Josh Carroll josh.carroll at gmail.com
Thu May 3 16:50:38 UTC 2007


> I've seen OpenBSD and some other variants of Unix clearing /tmp on
> bootup. But FreeBSD doesn't seem to do so.
> Is there any specific reason for this variation or is it just a matter
> of taste between these different Operating Systems?

You can put the following in rc.conf to do this:

clear_tmp_enable="YES"

It's not on by default.

Regards,
Josh


More information about the freebsd-questions mailing list