Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 10:04:51 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Eivind Eklund <eivind@FreeBSD.ORG>
Cc:        Bill Fumerola <billf@chc-chimes.com>, "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:  <199912171804.KAA63687@apollo.backplane.com>
References:  <199912171613.IAA29521@gndrsh.dnsmgr.net> <Pine.BSF.4.10.9912171127380.34648-100000@jade.chc-chimes.com> <19991217181206.B278@bitbox.follo.net>

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

:> > 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.

    This doesn't work well in practice.  So many programs write their
    temporary files to one or the other without regard to their purpose that 
    in every single UNIX installation I've *ever* done, I've made /var/tmp 
    relatively large and made /tmp a softlink to /var/tmp.  Doing anything
    else just wastes disk space.

    					-Matt
					Matthew Dillon 
					<dillon@backplane.com>


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?199912171804.KAA63687>