Can I delete all files/directories under /tmp
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri May 14 19:28:19 UTC 2004
On Fri, May 14, 2004 at 10:50:39AM -0400, G. Matthew Rice wrote:
> Deletion on reboot is distribution dependent. Some also [or instead] use
> tmpwatch(8) to delete files after they haven't been accessed for a period of
> time.
>
> You can also control the complete wiping of /tmp on debian by changing the
> TMPTIME setting in:
>
> /etc/default/rcS
>
> I prefer the tmpwatch way because it is a daily cron job. Debian seems to
> only take care of /tmp on rebooting and do nothing afterwards. Hmm, I just
> checked and there is tmpreaper for debian [based on redhat's tmpwatch]. It
> doesn't seem to get installed by default, though.
Yeah Debian does very little by default. It will do just about anything
you ask it to though as soon as you ask.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list