Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2012 11:29:07 -0400
From:      Lucas Holt <luke@foolishgames.com>
To:        Chris Rees <utisoft@gmail.com>
Cc:        "matt.thyer@gmail.com" <matt.thyer@gmail.com>, "ohartman@mail.zedat.fu-berlin.de" <ohartman@mail.zedat.fu-berlin.de>, "eric@vangyzen.net" <eric@vangyzen.net>, "sthaug@nethelp.no" <sthaug@nethelp.no>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Using TMPFS for /tmp and /var/run?
Message-ID:  <ACCF8105-7367-4E6A-8AA6-CF3580AA9656@foolishgames.com>
In-Reply-To: <CADLo839bF5Q%2BiZ-ExQi8VhpuAmxu%2BXhvZT7hVW35FCFq_V1huA@mail.gmail.com>
References:  <4F746F1E.6090702@mail.zedat.fu-berlin.de> <4F74BCE8.2030802@vangyzen.net> <CACM2%2B-7Ahn6J=CTASe0g48%2BSD2vvLVd_hG3DRZmvO31QszG5Xw@mail.gmail.com> <20120330.151848.41706133.sthaug@nethelp.no> <CADLo839bF5Q%2BiZ-ExQi8VhpuAmxu%2BXhvZT7hVW35FCFq_V1huA@mail.gmail.com>

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

/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@gmail.com> wrote:

> On 30 Mar 2012 14:26, <sthaug@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ACCF8105-7367-4E6A-8AA6-CF3580AA9656>