Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2014 21:44:24 +0000 (UTC)
From:      Allan Jude <allanjude@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272274 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201409282144.s8SLiO6C082038@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409282144.s8SLiO6C082038>