Re: Using TMPFS for /tmp and /var/run?

From: David Wolfskill <david_at_catwhisker.org>
Date: Thu, 29 Mar 2012 12:58:00 -0700
On Thu, Mar 29, 2012 at 02:50:00PM -0500, Eric van Gyzen 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.
> ...

Errr... I'm not sure why folks might have that misguided expectation;
from hier(7):

     /tmp/      temporary files that are not guaranteed to persist across sys-
                tem reboots

Foplks are welcome to do whatever they wish with their own machines,
but the FreeBSD default is as above.

And I was using swap-backed /tmp on SunOS back around 1988.... :-}

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Thu Mar 29 2012 - 17:58:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC