RFC: cleartmp: Allow user configurable mtree for /tmp
Xin LI
delphij at delphij.net
Thu Nov 25 21:27:20 UTC 2010
-----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 at 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 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)
iQEcBAEBCAAGBQJM7tSqAAoJEATO+BI/yjfBk8EH/jrvjD0eO0gy3hXPDAdzht63
pMI83lPeUOJwu9Zl5y0ch/wvHnu8S4PEVb3VfdRpHPgTaTtSRbPseOnJHq81UvfQ
g7mm+uXd7XhQlLdlejJApldi06XLOaP60mKy4F/OUFs8NHTQI3U7dQuVVNuq9mCe
w7t/6ivofQZyTITTz1CYG39Waq3ezT9Ek6fT6PZ+BEoNqhe1Y5MpyC2JaJ95gWQY
ZGWD0LIlxdLdEEMbUFyKfvC/W21kMF0KGginCyAuALoLlPkpv4AaG2WlM5IFSeoY
cVCckNEorLdQFQncwwiHUipO66aIIEGPbV7MPtvHAMBMERwjduFd3cz341XGSCc=
=0IDn
-----END PGP SIGNATURE-----
More information about the freebsd-rc
mailing list