[K12OSN] /tmp
Nils Breunese
nils at breun.nl
Thu Oct 4 13:11:24 UTC 2007
Michael Blinn wrote:
> What is the convention for cleaning out /tmp in v6? It's slowly
> filling up, and I can see some very old files in there. Is there a /
> tmp manager, or a current method for 'rm -rf /tmp/*' on reboot,
> or ....?
Do you have the tmpwatch package installed (I think it is installed
by default, but we don't run K12LTSP 6)?
From rpm -qi tmpwatch:
----
The tmpwatch utility recursively searches through specified
directories and removes files which have not been accessed in a
specified period of time. Tmpwatch is normally used to clean up
directories which are used for temporarily holding files (for example,
/tmp). Tmpwatch ignores symlinks, won't switch filesystems and only
removes empty directories and regular files.
----
It is run from /etc/cron.daily/tmpwatch on our systems.
Nils Breunese.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Dit deel van het bericht is digitaal ondertekend
URL: <http://listman.redhat.com/archives/k12osn/attachments/20071004/4525e55c/attachment.sig>
More information about the K12OSN
mailing list