From owner-freebsd-sysinstall@FreeBSD.ORG Thu May 15 01:48:33 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1B7B624; Thu, 15 May 2014 01:48:33 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 9D51B2278; Thu, 15 May 2014 01:48:33 +0000 (UTC) Received: from [10.2.255.195] (unknown [137.122.78.10]) (Authenticated sender: roleaccount@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 187F273A65; Thu, 15 May 2014 01:48:33 +0000 (UTC) Message-ID: <53741CF0.30300@allanjude.com> Date: Wed, 14 May 2014 21:48:32 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Devin Teske , roberto@freebsd.org Subject: Re: bsdinstall patch [2/3] datasets References: <53741C4D.2090806@allanjude.com> In-Reply-To: <53741C4D.2090806@allanjude.com> Content-Type: multipart/mixed; boundary="------------080103030601020901060306" Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 01:48:33 -0000 This is a multi-part message in MIME format. --------------080103030601020901060306 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 05/14/2014 21:45, Allan Jude wrote: > updates to the datasets created by zfsboot > > set compress=lz4 for the entire pool, removing it from the individual > datasets > > remove exec=no from /usr/src > > _______________________________________________ > freebsd-sysinstall@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall > To unsubscribe, send any mail to "freebsd-sysinstall-unsubscribe@freebsd.org" > I forgot to include the patch, my bad --------------080103030601020901060306 Content-Type: text/x-patch; name="zfsboot.datasets.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="zfsboot.datasets.patch" Index: usr.sbin/bsdinstall/scripts/zfsboot =================================================================== --- usr.sbin/bsdinstall/scripts/zfsboot (revision 266105) +++ usr.sbin/bsdinstall/scripts/zfsboot (working copy) @@ -121,7 +121,7 @@ /$ZFSBOOT_BEROOT_NAME/$ZFSBOOT_BOOTFS_NAME mountpoint=/ # Compress /tmp, allow exec but not setuid - /tmp mountpoint=/tmp,compression=lz4,exec=on,setuid=off + /tmp mountpoint=/tmp,exec=on,setuid=off # Don't mount /usr so that 'base' files go to the BEROOT /usr mountpoint=/usr,canmount=off @@ -130,17 +130,17 @@ /usr/home # NB: /home is a symlink to /usr/home # Ports tree - /usr/ports compression=lz4,setuid=off + /usr/ports setuid=off # Source tree (compressed) - /usr/src compression=lz4,exec=off,setuid=off + /usr/src # Create /var and friends /var mountpoint=/var - /var/crash compression=lz4,exec=off,setuid=off - /var/log compression=lz4,exec=off,setuid=off - /var/mail compression=lz4,atime=on - /var/tmp compression=lz4,exec=on,setuid=off + /var/crash exec=off,setuid=off + /var/log exec=off,setuid=off + /var/mail atime=on + /var/tmp setuid=off " # END-QUOTE # @@ -1093,7 +1093,8 @@ # f_dprintf "$funcname: Creating root pool..." f_eval_catch $funcname zpool "$ZPOOL_CREATE_WITH_OPTIONS" \ - "-o altroot=$BSDINSTALL_CHROOT -m none -f" \ + "-o altroot=$BSDINSTALL_CHROOT -O compress=lz4 + -m none -f" \ "$zroot_name" "$zroot_vdevtype" "$zroot_vdevs" || return $FAILURE --------------080103030601020901060306--