LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /var/tmp folder (https://www.linuxquestions.org/questions/linux-general-1/var-tmp-folder-255424/)

hardeep_ubhi 11-16-2004 02:01 AM

/var/tmp folder
 
when does linux clears the /tmp/var folder,because i have some important files in /var directory.that has to be there.

trickykid 11-16-2004 06:26 AM

/var/tmp is sometimes just a symlink to /tmp... and at times /tmp is cleared out at bootup.. My suggestion, don't keep important files in /tmp... /var is okay, /tmp is not.

olec 10-02-2006 02:34 AM

/var/tmp
 
Right! Don't keep "important" or "permanent" files in /tmp or /var/tmp. I once installed a commercial database system (not Oracle or the likes) on a MIPS System V box. Everytime the OS was booted, the system didn't work, and it took some time to discover that the DB kept its licence-file on /tmp (easy and well documented)... but the /tmp was a RAM-filesystem!

trickykid 10-02-2006 06:43 AM

Quote:

Originally Posted by olec
Right! Don't keep "important" or "permanent" files in /tmp or /var/tmp. I once installed a commercial database system (not Oracle or the likes) on a MIPS System V box. Everytime the OS was booted, the system didn't work, and it took some time to discover that the DB kept its licence-file on /tmp (easy and well documented)... but the /tmp was a RAM-filesystem!

That's just shitty coding if you want my opinion. If I was the project manager or QA tester, that wouldn't have passed for me. ;)

olec 10-02-2006 07:10 AM

/var/tmp
 
Agree! (But I did not write the DB, I only made a fix).


All times are GMT -5. The time now is 12:15 PM.