Click to See Complete Forum and Search --> : /tmp versus /var/tmp


The_Stack
02-27-2001, 02:30 PM
What is the difference between /tmp and /var/tmp?

I read somewhere that /tmp was only used for temporary files during system start-up and that /var/tmp was used for temporary files by processes after system start-up has completed. Does anyone know if what I have read is correct?

3Wheels
02-27-2001, 04:41 PM
I've always thought of /tmp as the default and general purpose temporary area. /var/tmp is typically used by the system and by applications as a temporary area.
HTH

Ig0r
02-27-2001, 06:28 PM
If you're using different partitions for /var and /tmp you can limit the amount of space things like spools take up without limiting the temporary space in /tmp