Using TMPFS for /tmp and /var/run?

Chris Rees utisoft at gmail.com
Fri Mar 30 14:43:08 UTC 2012


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


More information about the freebsd-current mailing list