Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2006 15:47:55 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Putting /tmp on a separate volume?
Message-ID:  <444A421B.9020102@infracaninophile.co.uk>
In-Reply-To: <20060422094828.F7B4.GERARD@seibercom.net>
References:  <200604220231.38846.oliver-mailinglist@charter.net>	<200604221255.58250.list-freebsd-2004@morbius.sent.com> <20060422094828.F7B4.GERARD@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDCE5BA6BC8618647749D12E3
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Gerard Seibert wrote:

> Correct me if I am wrong, but wouldn't the `daily_clean_tmps_enable=3D"=
YES"
> in /etc/periodic.conf' statement cause a problem for a running program
> that had created files in the /tmp directory and therefore obviously
> expected to find them there?

It might.  However, what the script does is remove any files from /tmp=20
that have not been accessed in more than 3 days (or whatever number you
configure), or similarly any empty directories that have not been modifie=
d
(ie. files added, deleted or meta-data changed) in that amount of time.
Accessed means 'opened for reading or writing' so anything at all useful
tends not to hit that condition.

On the other hand, if a program cannot cope with the mysterious and
unexpected disappearance of files from the /temporary directory/, well,=20
then it deserves to crash and burn.  There's plenty of other bits of file=

system to keep files in if you want them to stick around.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enigDCE5BA6BC8618647749D12E3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFESkIh8Mjk52CukIwRA5PyAJwIMabzfZ5Xcu9pY1eRvXjajyOwjgCeOncg
ETJpNy4TmVu9KUGGl/b1A40=
=Ou+1
-----END PGP SIGNATURE-----

--------------enigDCE5BA6BC8618647749D12E3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444A421B.9020102>