Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!ginosko!uunet!microsoft!stevesc
From: stevesc@microsoft.UUCP (Steve Schonberger)
Newsgroups: news.software.b
Subject: symlinking /tmp
Message-ID: <7897@microsoft.UUCP>
Date: 29 Sep 89 21:44:09 GMT
References: <34850@coherent.coherent.com> <34944@coherent.coherent.com>
Reply-To: stevesc@microsoft.UUCP (Steve Schonberger)
Distribution: news
Organization: Microsoft Corp., Redmond WA
Lines: 30

I know this doesn't strictly belong here, but the topic has been runing
around here so I'll brave flames and post it anyway.

Here is a solution to /tmp space problems:

The root filesystem:
	/tmp = symlink to /usr/tmp
	/usr = directory, mount point for usr filesystem most of the time
	/usr/tmp = directory, hidden under usr filesystem most of the time,
		but available when usr filesystem is umounted

The usr filesystem:
	/ = the filesystem's root, mounted as /usr
	/tmp = directory, accessible as /usr/tmp when usr filesystem is
		mounted, and as /tmp because of the symlink

I used this for more than a year and never had a problem.

I used the symlink without the /usr/tmp in the root partition for a while,
but had the problem of a utility failing in an attempt to write to /tmp
because the symlink pointed nowhere, which is what prompted me to think of
the idea of having a /usr/tmp on the root partition, ordinarily hidden
under the /usr mount point.

Feel free to repost this in places where it really belongs (I won't, unless
I see the topic discussed).

-- 
	Steve Schonberger	microsoft!stevesc@uunet.uu.net
	"Working under pressure is the sugar that we crave" --A. Lamb