[news.software.b] symlinking /tmp

stevesc@microsoft.UUCP (Steve Schonberger) (09/30/89)

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