Re: [LIH] How / When does /tmp gets cleared?

Kingsly John <[email protected]>
Newsgroups gmane.user-groups.linux.india.help
Organization Kingsly John Inc. :-)
Message-ID <[email protected]>
+++ Ratnakar Koli [2008-09-05 03:59:13]:

> Hi Folks,
> 
> I was wondering how and when does /tmp folder gets cleared? 

Rules/methods vary from distro to distro. Some are binary yes/no decisions
others have a age/time based cleanup option.

Happens both at startup and/or from cron depending on the distro/method.

RH-clones = tmpwatch package and config file /etc/cron.daily/tmpwatch

Debian-clones =  /etc/default/rcS

Gentoo = /etc/conf.d/bootmisc 

If you deviate from the distro defaults you need to keep track of any
changes to the config files during updates/upgrades or you can be in for
really nasty surprises


Kingsly
-- 
---------------------------------------------------------------------------
     Kingsly At Users Dot SourceForge Dot Net  -- http://kingsly.org/
---------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
linux-india-help mailing list
linux-india-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/linux-india-help
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFIwVH8BKRI3Cf8nJMRAtABAJ9vkTPJyvvEyHbr3N9juYRkP81SPwCePIH3
DaGZFhK8z3dJN+QiBJCTQeY=
=2uod
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.