Thread: /tmp & /var/tmp
View Single Post
Old 13th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,546
Default

Quote:
Originally Posted by BSDfan666 View Post
Anyway, nvi stores open files as Berkeley db files in /var/tmp, say you're writing a document and the server crashes.. open reboot the files in /tmp are gone, /var/tmp on the other hand remains.

This is a valid reason if you use nvi with the defaults.


In my case I use vim for my own files and when working on configuration files as root, I don't leave files in unusable states between saves if I can help it -> whether using nvi, vim, or mg.




Quote:
Originally Posted by killasmurf View Post

btw is there any app that writes big files to tmp?
Currently i'm reorganizing my disk, and i'm thinking of /var 256M vs 512M top
some programs and operations will create large files if given large I/O. An example, installing Quake 4 on FreeBSD takes a lot of /tmp space and ark will bomb out if there is not enough space in /tmp

-> hopefully every coder is smart enough to honor $TMPDIR but who says everyone is smart.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote