clean out /tmp?

Mike McCarty mike.mccarty at sbcglobal.net
Wed Sep 28 16:21:43 UTC 2005


Michael A. Peters wrote:
> On Tue, 2005-09-27 at 09:48 +1200, Morgan Read wrote:
> 
>>Hi,
>>Is there a way to keeping my /tmp's cleaned out in FC?
> 
> 
> Nothing in /tmp should be expected to survive a reboot.
> In fact, some people like to run /tmp as a tempfs (temporary file
> system) - only problem is, a tempfs can get full if you aren't careful.
> 
> But you can write an init script to delete it all at shutdown (or
> startup). Or just do what I do - ignore it, if space ever gets tight -
> then I boot into runlevel 3 and clear it (you don't want to clear it
> with X running)
> 

Then what about tmpwatch? Mine runs daily with 720 hours as the
parameter. Isn't this a problem?

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list