RFC: cleartmp: Allow user configurable mtree for /tmp
delphij at delphij.net
Thu Nov 25 21:27:20 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 11/25/10 12:42, Garrett Cooper wrote:
> On Thu, Nov 25, 2010 at 12:36 PM, Xin LI <delphij at delphij.net> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>> 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.
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the freebsd-rc