[Linux-aus] linux.conf.au
David Lloyd
lloy0076 at adam.com.au
Tue Dec 6 17:52:02 UTC 2005
Hmmm...
> /tmp filled up on umlhost, and on inspection, there were a number of
> large deleted files being help open in /tmp by the UML processes. I
> figured a reboot would cause these files to be closed, and thus
> properly removed from disk.
Time for a DSL uberkludge:
---
root# crontab -l
0 * * * * rm -rf /tmp/*
---
:P
Mind you stupid MySQL might go for a wander and other mentally retarded
things that expect things in TEMPORARY directories to, ummmm, persist...
I tend to treat /tmp as a place where I can just go "rm -rf *" without
affecting things too drastically.
DSL
More information about the linux-aus
mailing list