LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-16-2004, 02:01 AM   #1
hardeep_ubhi
LQ Newbie
 
Registered: Nov 2004
Location: india
Posts: 13

Rep: Reputation: 0
Question /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.
 
Old 11-16-2004, 06:26 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
/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.
 
Old 10-02-2006, 02:34 AM   #3
olec
LQ Newbie
 
Registered: Mar 2004
Location: Denmark
Distribution: RH
Posts: 2

Rep: Reputation: 0
Cool /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!
 
Old 10-02-2006, 06:43 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
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.
 
Old 10-02-2006, 07:10 AM   #5
olec
LQ Newbie
 
Registered: Mar 2004
Location: Denmark
Distribution: RH
Posts: 2

Rep: Reputation: 0
Cool /var/tmp

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/ and /tmp/ directories puishor Linux - General 5 06-25-2005 08:36 AM
kde, /tmp, /var/tmp and all that garba Linux - Software 4 06-17-2005 12:31 PM
/tmp /var/tmp Manuel-H Linux - General 3 04-23-2005 05:30 AM
Cleaning up /var and /tmp.... Whitehat Linux - General 3 01-04-2004 07:07 PM
Newbie question - /tmp /var/tmp Mr happy Linux - Security 3 01-27-2003 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration