View Single Post

  #2 (permalink)  
Old 03-24-2006
Jeremiah DeWitt Weiner
 
Posts: n/a
Default Re: tmp files dumping

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.

--
Oh to have a lodge in some vast wilderness. Where rumors of oppression
and deceit, of unsuccessful and successful wars may never reach me
anymore.
-- William Cowper
Reply With Quote