Using TMPFS for /tmp and /var/run?
Lucas Holt
luke at foolishgames.com
Fri Mar 30 15:29:16 UTC 2012
/tmp is used by eaccelerator for its cache. It's not required to persist but does prevent the need to regenerate everything after a reboot.
Lucas Holt
On Mar 30, 2012, at 10:43 AM, Chris Rees <utisoft at gmail.com> wrote:
> On 30 Mar 2012 14:26, <sthaug at nethelp.no> 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.
>>>>
>>> This is a mistake.
>>>
>>> The default should be clear_tmp_enable="YES"
>>> if only to uncover those broken configurations that expect /tmp to be
>>> persistent.
>>
>> If you want to break POLA and make a lot of people angry, sure.
>> Otherwise no.
>>
>
> I would very much like an example of where /tmp is expected to persist.
>
> Chris
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list