Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 11:59:19 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Sreeram BS <sreeramabs@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Files in /tmp directory - Is there any timelimit ?
Message-ID:  <5242A5E7.5070908@gmail.com>
In-Reply-To: <CAObZ-RXW8Gbs=EpMmeavd6hsLNJ3Qc=TSc9AMd4VR_EkN7p0bA@mail.gmail.com>
References:  <CAObZ-RXW8Gbs=EpMmeavd6hsLNJ3Qc=TSc9AMd4VR_EkN7p0bA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
25.09.2013 11:34, Sreeram BS wrote:
> Hi,
>     I am using FreeBSD 9. I would like to know as to what is the lifetime of
> the files in /tmp directory. The general description says that these files
> *may* not be preserved across a reboot. By this I interpret that if the
> system is not rebooted, then these files will be there forever. But, just
> wanted a confirmation to see if there is any lifespan (expiry-time)
> attached with these files (ie the system would flush these files after some
> days/months etc automatically).

Not by default. There's a clean-tmps periodic task which can be enabled 
@/etc/periodic.conf. It defaults to three days.

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5242A5E7.5070908>