Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 18:12:06 +0100
From:      Eivind Eklund <eivind@FreeBSD.org>
To:        Bill Fumerola <billf@chc-chimes.com>
Cc:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, "Kenneth D. Merry" <ken@kdm.org>, Greg Lehey <grog@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/contrib/sendmail/mail.local pathnames.h
Message-ID:  <19991217181206.B278@bitbox.follo.net>
In-Reply-To: <Pine.BSF.4.10.9912171127380.34648-100000@jade.chc-chimes.com>; from billf@chc-chimes.com on Fri, Dec 17, 1999 at 11:28:42AM -0500
References:  <199912171613.IAA29521@gndrsh.dnsmgr.net> <Pine.BSF.4.10.9912171127380.34648-100000@jade.chc-chimes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 17, 1999 at 11:28:42AM -0500, Bill Fumerola wrote:
> On Fri, 17 Dec 1999, Rodney W. Grimes wrote:
> 
> > > I don't mean to start another babbling war on -committers, but wouldn't
> > > this break POLA, since most applications set TMPDIR to /tmp by default?
> > 
> > I also don't see how using /var/tmp vs /tmp is going to help these lusers,
> > they usually only have a / and /usr, which puts /var/tmp on the same
> > partition as /tmp which is going to cause the same error under the
> > same conditions.
> 
> No. Since our defaults have a (larger) /var, they'll normally have a 
> non-root partition /var/tmp. The root parition certainly shouldn't
> be used as a place to buffer mail.

From hier(7):
     /tmp/    temporary files, usually a mfs(8) memory-based filesystem (the
              contents of /tmp are usually NOT preserved across a system re-
              boot)

     /var/    multi-purpose log, temporary, transient, and spool files

              tmp/       temporary files that are kept between system reboots
                         vi.recover  the directory where recovery files are
                                     stored


Ie, /tmp and /var/tmp are not the same, and each should be used according to
its purpose.  If we have problems with defaults being wrong WRT size of each
of these, we should fix the defaults, not write files the wrong place
(assuming that the file in question is a true temporary file).

Eivind.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991217181206.B278>