Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2016 16:24:21 +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: r300425 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201605221624.u4MGOLou043428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: allanjude
Date: Sun May 22 16:24:21 2016
New Revision: 300425
URL: https://svnweb.freebsd.org/changeset/base/300425

Log:
  Fix default ZFS layout to work better by default with sysutils/beadm
  
  The root file system is mounted early via vfs.root.mountfrom.
  The canmount=noauto property only affects the zfs rc.d script.
  This ensures that the 'default' BE is not mounted overtop of another BE when
  one is selected from the beastie menu
  
  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 May 22 15:22:45 2016	(r300424)
+++ head/usr.sbin/bsdinstall/scripts/zfsboot	Sun May 22 16:24:21 2016	(r300425)
@@ -143,7 +143,7 @@ f_isset ZFSBOOT_DATASETS || ZFSBOOT_DATA
 
 	# Boot Environment [BE] root and default boot dataset
 	/$ZFSBOOT_BEROOT_NAME				mountpoint=none
-	/$ZFSBOOT_BEROOT_NAME/$ZFSBOOT_BOOTFS_NAME	mountpoint=/
+	/$ZFSBOOT_BEROOT_NAME/$ZFSBOOT_BOOTFS_NAME	mountpoint=/,canmount=noauto
 
 	# Compress /tmp, allow exec but not setuid
 	/tmp		mountpoint=/tmp,exec=on,setuid=off



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