Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2012 14:50:00 -0500
From:      Eric van Gyzen <eric@vangyzen.net>
To:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: Using TMPFS for /tmp and /var/run?
Message-ID:  <4F74BCE8.2030802@vangyzen.net>
In-Reply-To: <4F746F1E.6090702@mail.zedat.fu-berlin.de>
References:  <4F746F1E.6090702@mail.zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/29/12 09:18, O. Hartmann wrote:
> I was wondering if there are some objections using TMPFS for /tmp and
> /var/run.

For /tmp, what exactly do you mean?

If you want to use tmpfs instead of md/mdmfs when tmpmfs="YES" in 
rc.conf, I have no opinion.

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.

Cheers,

Eric



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