diff options
author | Graham Perrin <grahamperrin@FreeBSD.org> | 2023-07-07 22:05:46 +0000 |
---|---|---|
committer | Graham Perrin <grahamperrin@FreeBSD.org> | 2023-07-07 22:05:46 +0000 |
commit | 3541d90836c0dde9734ea776f2b2b6c4ed8fd7f4 (patch) | |
tree | dc5b26af85a0fe5db2d6583b3cc73e9ebcb17465 | |
parent | 38f57faa06cf1b96568eac6cb270c1748f3fde43 (diff) | |
download | src-3541d90836c0dde9734ea776f2b2b6c4ed8fd7f4.tar.gz src-3541d90836c0dde9734ea776f2b2b6c4ed8fd7f4.zip |
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
-rw-r--r-- | lib/geom/part/gpart.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/geom/part/gpart.8 b/lib/geom/part/gpart.8 index 1b14870f0d5c..2bc1daba2ad6 100644 --- a/lib/geom/part/gpart.8 +++ b/lib/geom/part/gpart.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 1, 2023 +.Dd July 7, 2023 .Dt GPART 8 .Os .Sh NAME @@ -1429,7 +1429,7 @@ sizes of up to 256 kB. .Pp Finally, we create and format an 8 GB .Cm freebsd-ufs -partition for the root filesystem, leaving the rest of the slice free +partition for the root filesystem, leaving the rest of the device free for additional filesystems: .Bd -literal -offset indent /sbin/gpart add -s 8G -t freebsd-ufs ada0 |