svn commit: r272274 - head/usr.sbin/bsdinstall/scripts
Allan Jude
allanjude at FreeBSD.org
Sun Sep 28 21:44:24 UTC 2014
Author: allanjude (doc committer)
Date: Sun Sep 28 21:44:23 2014
New Revision: 272274
URL: http://svnweb.freebsd.org/changeset/base/272274
Log:
Change the /var dataset in the default ZFS layout to have the
ZFS property canmount=off so that /var/db/pkg and other such directories
are part of the / dataset, and only /var/mail, /var/log, and /var/crash
are excluded from the ZFS boot environment (beadm).
PR: 193971
Approved by: jmg
MFC after: ASAP
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Modified:
head/usr.sbin/bsdinstall/scripts/zfsboot
Modified: head/usr.sbin/bsdinstall/scripts/zfsboot
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/zfsboot Sun Sep 28 21:20:20 2014 (r272273)
+++ head/usr.sbin/bsdinstall/scripts/zfsboot Sun Sep 28 21:44:23 2014 (r272274)
@@ -156,7 +156,7 @@ f_isset ZFSBOOT_DATASETS || ZFSBOOT_DATA
/usr/src
# Create /var and friends
- /var mountpoint=/var
+ /var mountpoint=/var,canmount=off
/var/crash exec=off,setuid=off
/var/log exec=off,setuid=off
/var/mail atime=on
More information about the svn-src-head
mailing list