Date: Wed, 14 May 2014 21:48:32 -0400 From: Allan Jude <freebsd@allanjude.com> To: Devin Teske <dteske@freebsd.org>, roberto@freebsd.org Cc: freebsd-sysinstall@freebsd.org Subject: Re: bsdinstall patch [2/3] datasets Message-ID: <53741CF0.30300@allanjude.com> In-Reply-To: <53741C4D.2090806@allanjude.com> References: <53741C4D.2090806@allanjude.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53741CF0.30300>