Using TMPFS for /tmp and /var/run?
Matt Thyer
matt.thyer at gmail.com
Fri Mar 30 12:51:06 UTC 2012
On Mar 30, 2012 6:22 AM, "Eric van Gyzen" <eric at vangyzen.net> wrote:
> However, if you always want to use tmpfs instead of stable storage,
please do not. Some people expect /tmp to be persistent. This is why
/etc/defaults/rc.conf has clear_tmp_enable="NO". Changing this would break
the POLA.
>
This is a mistake.
The default should be clear_tmp_enable="YES"
if only to uncover those broken configurations that expect /tmp to be
persistent.
I was going to say "At least on -CURRENT" but in reality it should be the
default on -RELEASE too when it's clearly a bug to expect /tmp to be
persistent.
More information about the freebsd-current
mailing list