1 |
As I recall, tmp was often a small, fast disk drive, compared to the |
2 |
slow lumbering washing machines that most data resided on. Several |
3 |
sites I recall had a couple of head per track drives; one would be for |
4 |
the swap partitions and the other was for temporary stuff that was |
5 |
being worked on. After the edits or whatever were done, the user or |
6 |
the system would move the stuff off of /tmp and back to the main |
7 |
disks. Because users sometimes forgot to remove their stuff from tmp, |
8 |
various utilities (such as tmpwatch) would reap old files on a regular |
9 |
basis. One consultant I knew didn't trust UNIX because he put files |
10 |
in /tmp and was astonished when they were not there several days |
11 |
later. |
12 |
|
13 |
These days it is more common to have /tmp be reserved for smaller |
14 |
system stuff, and to use /usr/tmp or /var/tmp for lager user files. |
15 |
Admins can set the environment variable TMP or TMPDIR in the login |
16 |
profiles if necessary. It hangs on because too many programs and |
17 |
scripts assume it is available. |
18 |
|
19 |
-- |
20 |
Old time *nix fart. |
21 |
G.Wolfe Woodbury |
22 |
redwolfe@×××××.com |
23 |
|
24 |
On Mon, Dec 15, 2014 at 7:41 PM, Andreas K. Huettel |
25 |
<dilfridge@g.o> wrote: |
26 |
>> I confess I've never thought much about why /tmp exists, but today I was |
27 |
>> inconvenienced when an end-user utility (uudeview) ran out of space on /tmp |
28 |
>> while doing an ordinary end-user task processing very large end-user files. |
29 |
>> |
30 |
>> Why is an end-user program using a "system" directory like /tmp in the first |
31 |
>> place? |
32 |
>> |
33 |
>> I suspect that the need for /tmp is now gone, but I'm prepared to be wrong |
34 |
>> :) |
35 |
> |
36 |
> Because /home may be on a NFS mount, with slow access and a disk usage quota. |
37 |
> :) |
38 |
> |
39 |
> -- |
40 |
> Andreas K. Huettel |
41 |
> Gentoo Linux developer |
42 |
> kde, council |
43 |
> |
44 |
> |
45 |
|
46 |
|
47 |
|
48 |
-- |
49 |
-- |
50 |
G.Wolfe Woodbury |
51 |
redwolfe@×××××.com |