diff options
author | Graham Perrin <grahamperrin@FreeBSD.org> | 2023-07-07 22:05:46 +0000 |
---|---|---|
committer | Graham Perrin <grahamperrin@FreeBSD.org> | 2023-07-28 07:53:36 +0000 |
commit | e583c798d93502752bd8d72da62beca5b3e342e4 (patch) | |
tree | 6f66109696b03e75c5c6c6b4154952cb7b04b795 /lib | |
parent | 7b335e9f690e77841e3eb7dbf3403429b10fe222 (diff) | |
download | src-e583c798d93502752bd8d72da62beca5b3e342e4.tar.gz src-e583c798d93502752bd8d72da62beca5b3e342e4.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
(cherry picked from commit 3541d90836c0dde9734ea776f2b2b6c4ed8fd7f4)
Diffstat (limited to 'lib')
-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 ffb048e9abf5..832f53d1bfc6 100644 --- a/lib/geom/part/gpart.8 +++ b/lib/geom/part/gpart.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 26, 2022 +.Dd July 7, 2023 .Dt GPART 8 .Os .Sh NAME @@ -1396,7 +1396,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 |