View Single Post

  #5 (permalink)  
Old 03-24-2006
CWO4 Dave Mann
 
Posts: n/a
Default Re: tmp files dumping

Jeremiah DeWitt Weiner wrote:

> CWO4 Dave Mann <misterfixit@loveable.com> wrote:
>
>> Hey Group, I was snooping around my system just now and looked in
>> the /root/tmp folder. There is stuff in there from months ago. When
>> does it ever get emptied?

>
> I never heard of a /root/tmp directory (not "folder"), although
> there's nothing impossible about it. /tmp is standard; /root/tmp is
> not. There are about three ways/times in which temp directories get
> emptied, other than doing it manually:
> 1. Never.
> 2. At reboot.
> 3. When something like 'tmpreaper' gets run on a schedule.
>
> Exactly which of these might apply depends on your distribution.
> Personally, I think 'at reboot' is the best way to do it, but reasonable
> people can and do disagree.
>




Thanks for the insight. I find that I have several directories named /tmp.

/root/tmp
/usr/dave/tmp
/usr/dave/.tmp
/var/.tmp

I don't have a clue, otherwise. I know I never set them up. A couple of
years ago (discussion here I think) I looked into putting the /tmp
directory on a ram drive.

The not being emptied situation has to be corrected. I am parsimonious with
my HD space, even though I have close to a TB of space on several drives.
The cumulative total of all the /tmp directories is almost 3 GB.

TIA!

Dave




~~~~~~~~~~~~~~~~~~~~~~~~
Study History - Know the Future
Reply With Quote