Re: clean out /tmp?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

I've been doing that ($ rm /tmp/*) while up (I use Gnome over Xwindow).
Am I playing with fire? What are the possible consequences?

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!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux