Skip to content

Commit

Permalink
gpart(8): slices are out of context for GPT
Browse files Browse the repository at this point in the history
Correct the GPT example. Creation of a partition leaves free the rest
of the device (not the slice).

Approved-by:  imp
Fixes:        ae1b731 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: freebsd#795
  • Loading branch information
grahamperrin committed Jul 7, 2023
1 parent 38f57fa commit 3541d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/geom/part/gpart.8
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 1, 2023
.Dd July 7, 2023
.Dt GPART 8
.Os
.Sh NAME
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3541d90

Please sign in to comment.