svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts
Bryan Drewery
bryan at shatow.net
Tue Oct 15 14:57:18 UTC 2013
On Fri, Oct 11, 2013 at 08:41:35PM +0000, Devin Teske wrote:
> Author: dteske
> Date: Fri Oct 11 20:41:35 2013
> New Revision: 256343
> URL: http://svnweb.freebsd.org/changeset/base/256343
>
> Log:
> Add zfsboot module as an option for automatic configuration. Default is
> to run interactively but it can be scripted too (optinally completely
> non-interactive). Currently supports GELI and all ZFS vdev types. Also
> performs validation on selections/settings providing error messages if
> necessary, explaining (in plain language) what the issue is. Currently
> the auto partitioning of naked disks only supports GPT and MBR (VTOC8
> pending for sparc64), so is only available for i386/amd64 install.
>
> Submitted by: Allan Jude <freebsd at allanjude.com>, myself
> Reviewed by: Allan Jude <freebsd at allanjude.com>
> Approved by: re (glebius)
>
> Added:
> head/usr.sbin/bsdinstall/scripts/zfsboot (contents, props changed)
> Modified:
> head/usr.sbin/bsdinstall/bsdinstall
> head/usr.sbin/bsdinstall/scripts/Makefile
> head/usr.sbin/bsdinstall/scripts/auto
> head/usr.sbin/bsdinstall/scripts/config
>
> +# Should we use gnop(8) to configure a transparent mapping to 4K sectors?
> +#
> +: ${ZFSBOOT_GNOP_4K_FORCE_ALIGN:=1}
I believe this trick is no longer needed after r254591.
> *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
...
> +# Default name for the boot environment parent dataset
> +#
> +: ${ZFSBOOT_BEROOT_NAME:=bootenv}
...
> + # Set bootfs property
> + zpool set bootfs="$poolname/$ZFSBOOT_BEROOT_NAME/$ZFSBOOT_BOOTFS_NAME" \
> + "$poolname" || return $FAILURE
Can you please make ZFSBOOT_BEROOT_NAME be ROOT by default? This is what
sysutils/beadm, OpenSolaris/Illumos beadm, and I believe PC-BSD all expect
and use as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20131015/186a1904/attachment.sig>
More information about the svn-src-head
mailing list