Using TMPFS for /tmp and /var/run?
David Wolfskill
david at catwhisker.org
Thu Mar 29 19:58:01 UTC 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120329/a1629fbc/attachment.pgp
More information about the freebsd-current
mailing list