]> 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, 7 Jul 2023 22:05:46 +0000 (23:05 +0100)
commit3541d90836c0dde9734ea776f2b2b6c4ed8fd7f4
treedc5b26af85a0fe5db2d6583b3cc73e9ebcb17465
parent38f57faa06cf1b96568eac6cb270c1748f3fde43
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
lib/geom/part/gpart.8