Bug 242983 - bsdinstall: Allow to set ZROOT partition size
Summary: bsdinstall: Allow to set ZROOT partition size
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-sysinstall (Nobody)
Keywords: patch
Depends on:
Reported: 2019-12-30 13:11 UTC by Willem Jan Withagen
Modified: 2019-12-31 08:52 UTC (History)
0 users

See Also:

Diff to bsdinstall/zfsboot and bsdinstall.8 (5.78 KB, patch)
2019-12-30 13:11 UTC, Willem Jan Withagen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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: