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