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

Re: [K12OSN] /tmp



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.


Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend


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