Subject: Re: CVS commit: basesrc
To: None <tech-userlevel@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-userlevel
Date: 03/08/2000 01:06:13
Matthias Scheler wrote:

> In article <200003062352.IAA02969@edge.sky.yamashina.kyoto.jp>,
> 	Takahiro Kambe <taca@sky.yamashina.kyoto.jp> writes:
> > Hmmm. I think "/var/tmp" was used since temporary files created by
> > sort(1) in updatedb.csh grew large, and it is safer that creating larger
> > temporary files in "/var/tmp" rather than "/tmp".
> 
> Why is this safer? These days most people have "/tmp" on a MFS on top
> of their swap partition which is much larger than the root partition
> with "/var" on it.

I don't know about "most people", but I tend to use -s=<half-phys-mem>
for sizing an MFS /tmp, and make sure /var (which is always on a
separate partition) is large enough to hold two crash dumps (ie, 2 x
phys-mem).

Simon.