Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2012 12:58:00 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Eric van Gyzen <eric@vangyzen.net>
Cc:        current@freebsd.org
Subject:   Re: Using TMPFS for /tmp and /var/run?
Message-ID:  <20120329195800.GH1709@albert.catwhisker.org>
In-Reply-To: <4F74BCE8.2030802@vangyzen.net>
References:  <4F746F1E.6090702@mail.zedat.fu-berlin.de> <4F74BCE8.2030802@vangyzen.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--YfqBrEkRVu0wMIYz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,=20
> please do not.  Some people expect /tmp to be persistent.  This is why=20
> /etc/defaults/rc.conf has clear_tmp_enable=3D"NO".  Changing this would=
=20
> 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 s=
ys-
                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
--=20
David H. Wolfskill				david@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.

--YfqBrEkRVu0wMIYz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk90vsgACgkQmprOCmdXAD1/MACfbnzoSsZaVDumESlyS0gN/SMb
ShMAniVQSMK41A9gtc7uatL+7xpuJmud
=cnWe
-----END PGP SIGNATURE-----

--YfqBrEkRVu0wMIYz--



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