git: e583c798d935 - stable/13 - gpart(8): slices are out of context for GPT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Jul 2023 07:57:57 UTC
The branch stable/13 has been updated by grahamperrin:
URL: https://cgit.FreeBSD.org/src/commit/?id=e583c798d93502752bd8d72da62beca5b3e342e4
commit e583c798d93502752bd8d72da62beca5b3e342e4
Author: Graham Perrin <grahamperrin@FreeBSD.org>
AuthorDate: 2023-07-07 22:05:46 +0000
Commit: Graham Perrin <grahamperrin@FreeBSD.org>
CommitDate: 2023-07-28 07:53:36 +0000
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 | 4 ++--
1 file 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