/tmp vs /usr/tmp vs /var/tmp

/tmp vs /usr/tmp vs /var/tmp

Post by Mike O'Conno » Sat, 03 Jan 1998 04:00:00





:Please help me understand temp directories.  I know what /tmp is for,
:and I know that /var/tmp is like /tmp only it is not normally cleared
:at boot-time.  But then what is /usr/tmp for?  or aren't /usr/tmp and
:/var/tmp usually used in the same implementation?

/usr/tmp and /var aren't normally in the same implementation.  

--

 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481

 
 
 

1. mfs & /tmp vs /var/tmp

Since I'm struggling to get a "make world" in /usr/src to complete without
errors I thought it would be nice to speed up my compiles by building a kernel
with mfs on /tmp. Not a lot happened, then I found P_tmpdir in stdio.h is set
to /var/tmp. Rather defeats the point, I'd say. This is 2.2-CURRENT of Sep 15.

Mind you, it's an incredibly exhilarating feeling watching this poor little
PC sup a new set of fixes down the phone line, rebuild _everything_ from the
sources, install a new kernel and reboot clean as a whistle. Kudos, guys. :-)

Ian.
--
 UNIX sysadmindroid, mail and news hacker, sentenced to a lifetime of slavery.
   Network Unit, Manchester Computing, The University, Manchester, England.

                Look before you leap; he who hesitates is lost.

2. can't get mail from ti.com

3. How to limit the use of /tmp and /var/tmp by arbitrary users

4. EPSON ActionNote 880CX, trackpad, CT65535 video ?

5. Why is there /tmp in addition to /var/tmp.

6. Just an idea...

7. Permissions on /tmp or /var/tmp?

8. route

9. difference between /tmp and /var/tmp?

10. Permissions on /tmp or /var/tmp?

11. /var/tmp -> /tmp (was: Anything wrong with just two disk partitions?)

12. dangers of linking /var/tmp -> /tmp

13. /tmp & /var/tmp sizes?