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

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Fri, 30 Mar 2012 18:59:30 -0700
On 30 March 2012 17:57,  <deeptech71_at_gmail.com> wrote:
> C. P. Ghost wrote:
>>
>> Not clearing /tmp on reboot has been
>> the norm for way too long and it is too late to change now.
>
>
> We either evolve or be in a stalemate forever.

No, you do it in a sensible, controlled fashion.

You make it really easy for people to turn on tmpfs by default. Some
distributions of FreeBSD may pick that up, some may not.

You have some people run with it, find out what software breaks and
start issuing fixes.

You aim to have that particular default deprecated in a major release.
You make it really easy for users to switch back. You point out that
/tmp was never designed to be persistent across reboots, we're now
making sure that's the case.

If you feel so inclined, you can add a configuration step in
sysinstall/bsdinstall, to let the user choose.

The next major release after that, you flip the default to /tmpfs.

/var/tmp/ is documented to persist across reboots on a normal system.
That require much more discussion. You're changing the default
behaviour.


Adrian
Received on Fri Mar 30 2012 - 23:59:31 UTC

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