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

From: Lucas Holt <luke_at_foolishgames.com>
Date: Fri, 30 Mar 2012 11:29:07 -0400
/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"
Received on Fri Mar 30 2012 - 13:29:16 UTC

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