summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2014-09-28 21:44:23 +0000
committerallanjude <allanjude@FreeBSD.org>2014-09-28 21:44:23 +0000
commita7af222dcddf519825ff9b85e03baf76a2d89944 (patch)
treefbf53fb0a1820026bb8f21d1d7b51cad44f17d72 /usr.sbin
parentc40729136d76ac63297e28c8515d679451219e7e (diff)
downloadFreeBSD-src-a7af222dcddf519825ff9b85e03baf76a2d89944.zip
FreeBSD-src-a7af222dcddf519825ff9b85e03baf76a2d89944.tar.gz
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.
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/zfsboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index d139b77..2b01dea 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -156,7 +156,7 @@ f_isset ZFSBOOT_DATASETS || ZFSBOOT_DATASETS="
/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
OpenPOWER on IntegriCloud