Bug 242983

Summary: bsdinstall: Allow to set ZROOT partition size
Product: Base System Reporter: Willem Jan Withagen <wjw>
Component: binAssignee: freebsd-sysinstall (Nobody) <sysinstall>
Status: New ---    
Severity: Affects Some People Keywords: install, patch
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Diff to bsdinstall/zfsboot and bsdinstall.8 none

Description Willem Jan Withagen 2019-12-30 13:11:10 UTC
Created attachment 210329 [details]
Diff to bsdinstall/zfsboot and bsdinstall.8

When I normally install systems I do not like to give the full disk to the zroot partition. If only because I want to use the remainder of the disk for pools of a different ZMIRRO/ZRAID type.
ATM this is only doable by first creating an absurde SWAP size. And once booted fix that. Disadvantage is that the freespace ends between swap and zroot, which is not all to nice.

This patch add a extra option in the zfsboot menu that allows to deviate from the MAX setting. MAX setting gives the current standard behaviour.
Comment 1 Willem Jan Withagen 2019-12-31 08:52:36 UTC
Also uploaded it in Phabricator:

https://reviews.freebsd.org/D22969