]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
gpart(8): slices are out of context for GPT
authorGraham Perrin <grahamperrin@FreeBSD.org>
Fri, 7 Jul 2023 22:05:46 +0000 (23:05 +0100)
committerGraham Perrin <grahamperrin@FreeBSD.org>
Fri, 28 Jul 2023 07:53:36 +0000 (08:53 +0100)
commite583c798d93502752bd8d72da62beca5b3e342e4
tree6f66109696b03e75c5c6c6b4154952cb7b04b795
parent7b335e9f690e77841e3eb7dbf3403429b10fe222
gpart(8): slices are out of context for GPT

Correct the GPT example. Creation of a partition leaves free the rest
of the device (not the slice).

Approved-by: imp
Fixes: ae1b731b5df0 Rewrite the GPT and MBR examples. For GPT, ensure that the boot partition is large enough for gptzfsboot, which has doubled in size since 10.
MFC after:    1 week
Pull-request: https://github.com/freebsd/freebsd-src/pull/795

(cherry picked from commit 3541d90836c0dde9734ea776f2b2b6c4ed8fd7f4)
lib/geom/part/gpart.8