*BSD News Article 52078


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.EDU.AU!munnari.oz.au!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!agate!howland.reston.ans.net!swrinde!sgigate.sgi.com!atha!rwa
From: rwa@cs.athabascau.ca (Ross Alexander)
Newsgroups: news.software.nntp,comp.unix.bsd.bsdi.misc
Subject: Re: Disk full errors
Date: 2 Oct 1995 20:11:05 GMT
Organization: Athabasca University
Lines: 30
Distribution: inet
Message-ID: <44ph0p$hb4@aurora.cs.athabascau.ca>
References: <davidp-2909951437400001@mac219.admin.biola.edu> <44jv9i$a73@zuul.nmti.com> <44lbn5$23t@ionews.io.org>
NNTP-Posting-Host: aupair.cs.athabascau.ca
Keywords: inn news bsdi
X-Newsreader: NN version 6.5.0 #10 (NOV)
Xref: euryale.cc.adfa.oz.au news.software.nntp:16195 comp.unix.bsd.bsdi.misc:1026

geoffred@io.org (Geoff Davidson) writes:

>peter@nmti.com (Peter da Silva) writes:

>>Make "/tmp" a symlink to "/var/tmp" or something like that, so long as
>>you have plenty of space for scratch files there...

>	At first, I was going to skip this, but foolishly changed my
>mind...
>	...is there nothing at boot time that tries to write to /tmp?
>if so...what if /var is mounted on a different partition?

From the look of the df output, the machine in question is a BSD
derivative platform.  (And, now that I think of it, the symlink idea
won't fly if it isn't, modulo SysVr4 :).  The first thing any sane
/etc/rc does is to scrub and then mount all local filesystems
(although SunOS 4.x, as per usual, does things differently) so if /var
is local, it will get mounted very early in the boot sequence, before
anything tries to scribble into it.  /tmp's a special case anyhow,
because about the second thing that happens is that /tmp gets cleaned
up.  We run /tmp as a link to /var/tmp on several boxes here and it's
generally safe.

regards,
Ross



--
Ross Alexander, ve6pdq  --  (403) 675 6311  --  rwa@cs.athabascau.ca