Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rochester!pt!sei!sei.cmu.edu!pdb
From: pdb@sei.cmu.edu (Patrick Barron)
Newsgroups: comp.unix.wizards
Subject: Re: /usr/tmp
Message-ID: <1791@aw.sei.cmu.edu>
Date: Fri, 3-Jul-87 03:30:46 EDT
Article-I.D.: aw.1791
Posted: Fri Jul  3 03:30:46 1987
Date-Received: Sun, 5-Jul-87 20:44:51 EDT
References: <431@murphy.UUCP>
Sender: netnews@sei.cmu.edu
Reply-To: pdb@sei.cmu.edu (Pat Barron)
Organization: Carnegie-Mellon University, SEI, Pgh, Pa
Lines: 26
Keywords: temp useless

In article <431@murphy.UUCP> dave@murphy.UUCP (The Giant Hogweed) writes:
>On everything that I take care of, I've made /usr/tmp a symlink to
>/tmp (Sun and Gould machines, obviously running derivatives of BSD 4.2
>and 4.3).  Several others have done the same.
>
>So, my question is: Does anyone still need /usr/tmp?  Is there any reason
>why all the utilities that use it couldn't be recoded to use /tmp instead,
>and /usr/tmp be banished?

This is just the opposite of my situation.  I'm running off a single
380 megabyte disk that only has three partitions - /, /usr, and swap.
I have about 600 blocks free on the root partition, but lots of
space on /usr, so I run with /tmp symlinked to /usr/tmp (if I have
to come up single-user or something like that, I remove the /tmp link
and make a real directory).  Myself, I'd prefer to see everything use
/usr/tmp.  Actually, ordinarily, I don't care.  But when 'pc' tried to
create a couple of 1+ megabyte temporary files (as it did when I tried
build TeX from its WEB source), I *really* wanted the files created where
I had space.

However, in principle, I agree:  there should be one place where temporary
files are created.  If you want it to be /tmp, then recode all the utilities
to use /tmp (or better, edit all the binaries with EMACS or something, and
globally replace all occurances of "/usr/tmp" with "/tmp\0\0\0\0"  :-) ).

--Pat.