Date: Thu, 25 Nov 2010 13:27:06 -0800 From: Xin LI <delphij@delphij.net> To: Garrett Cooper <gcooper@FreeBSD.org> Cc: freebsd-rc@freebsd.org, d@delphij.net Subject: Re: RFC: cleartmp: Allow user configurable mtree for /tmp Message-ID: <4CEED4AA.3030001@delphij.net> In-Reply-To: <AANLkTinU%2BWmEK8A_qtrk-EdkRn7g_NZOV2tmoEsYO9wi@mail.gmail.com> References: <4CEEC8E7.6040102@delphij.net> <AANLkTinU%2BWmEK8A_qtrk-EdkRn7g_NZOV2tmoEsYO9wi@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/25/10 12:42, Garrett Cooper wrote: > On Thu, Nov 25, 2010 at 12:36 PM, Xin LI <delphij@delphij.net> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Hi, >> >> Here is a patch that adds a new variable, tmp_mtree, which allows a user >> defined mtree for /tmp. This is useful when clear_tmp_enable="YES" and >> some directories are needed to be exist in /tmp before services is started. > > Why not just put the file(s) in /var ? Because /var is /var and /tmp is /tmp. Well, to be more specific - administrator expect /var's contents to be kept when system reboots, and /tmp is not. For example you may want to keep session files under /tmp and not /var, and log files under /var and not /tmp. Note that there is a small typo in previous patch where tmp_mtree should be cleartmp_mtree, which I forgot. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBCAAGBQJM7tSqAAoJEATO+BI/yjfBk8EH/jrvjD0eO0gy3hXPDAdzht63 pMI83lPeUOJwu9Zl5y0ch/wvHnu8S4PEVb3VfdRpHPgTaTtSRbPseOnJHq81UvfQ g7mm+uXd7XhQlLdlejJApldi06XLOaP60mKy4F/OUFs8NHTQI3U7dQuVVNuq9mCe w7t/6ivofQZyTITTz1CYG39Waq3ezT9Ek6fT6PZ+BEoNqhe1Y5MpyC2JaJ95gWQY ZGWD0LIlxdLdEEMbUFyKfvC/W21kMF0KGginCyAuALoLlPkpv4AaG2WlM5IFSeoY cVCckNEorLdQFQncwwiHUipO66aIIEGPbV7MPtvHAMBMERwjduFd3cz341XGSCc= =0IDn -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CEED4AA.3030001>