/tmp: change default to mdmfs and/or tmpfs?

Dmitry Morozovsky marck at rinet.ru
Mon Jun 10 08:43:15 UTC 2013


On Mon, 10 Jun 2013, Julian Elischer wrote:

> > > > what do you think about stop using precious disk or even SSD resources
> > > > for
> > > > /tmp?
> > > > 
> > > > For last several (well, maybe over 10?) years I constantly use md
> > > > (swap-backed)
> > > > for /tmp, usually 128M in size, which is enough for most of our server
> > > > needs.
> > > > Some require more, but none more than 512M.  Regarding the options, we
> > > > use
> > > > tmpmfs_flags="-S -n -o async -b 4096 -f 512"
> > > [...]
> 
> I sometimes use virtual filesystems but there are cases when I am looking to
> store HUGE amounts of trace data in /tmp and end up cursing and remounting a
> real disk partition.

Hmm, don't /var/tmp exist for such a task?

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list