Why doesn't FreeBSD clear /tmp on bootup?

Robert Huff roberthuff at rcn.com
Thu May 3 17:01:13 UTC 2007


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


More information about the freebsd-questions mailing list