Date: Wed, 22 Aug 2012 17:58:02 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: Polytropon <freebsd@edvax.de> Cc: RW <rwmaillists@googlemail.com>, freebsd-questions@freebsd.org Subject: Re: /tmp filesystem full Message-ID: <CAHu1Y71J94EDb82NLrHfvn6NPnDRv-OexboXWGgYsCn0ZD-%2BhA@mail.gmail.com> In-Reply-To: <20120823024351.16385ade.freebsd@edvax.de> References: <201208221934.q7MJYfwM063804@mail.r-bonomi.com> <1345664911.2501.8.camel@z6000.lenzicasa> <CAHu1Y72xwNevgKQ8eVYYOzGC80-511DtDe8kJMWbYJm5Tq28CA@mail.gmail.com> <20120822232112.07ac3517@gumby.homeunix.com> <20120822232907.34fc82fc@gumby.homeunix.com> <CAHu1Y71Y_cxv_qgQaMmzdx5kZHtXGuLGaxx9QQAE8QBWGL3fUA@mail.gmail.com> <20120823024351.16385ade.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 22, 2012 at 5:43 PM, Polytropon <freebsd@edvax.de> wrote: > For the mentioned appliances, that would not be a problem. > However there's a distinction between /tmp and /var/tmp > that can be summarized like this: The content of /tmp may > disappear after a reboot (see clear_tmp_enable="YES" in > /etc/rc.conf), whereas /var/tmp is to be preserved during > reboot. Some programs rely on this behavior when putting > "delete-temporary" and "keep-temporary" files into the > respective directories. You are quite right - most of what's in /var is expected to be persistent. In the case where /var/tmp is on a mfs, it's hard to oblige. On these same systems, I do have rc scripts that save parts of /var (those listed in an rc.conf variable) for shutdown, and populate those dirs (after /etc/rc.d/var does its mtree stuff) on start up. - M
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y71J94EDb82NLrHfvn6NPnDRv-OexboXWGgYsCn0ZD-%2BhA>