gpart(8): Improve manual page syntax

Fix various warnings from `mandoc -Tlint lib/geom/part/gpart.8`.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/702
This commit is contained in:
Tom Hukins 2023-06-01 20:41:28 -06:00 committed by Warner Losh
parent d275d2e3d3
commit 409594ef34
3 changed files with 50 additions and 21 deletions

View file

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 27, 2023 .Dd June 1, 2023
.Dt GPART 8 .Dt GPART 8
.Os .Os
.Sh NAME .Sh NAME
@ -566,7 +566,9 @@ Requires the
.Cm GEOM_PART_BSD .Cm GEOM_PART_BSD
kernel option. kernel option.
.It Cm BSD64 .It Cm BSD64
64-bit implementation of BSD disklabel used in DragonFlyBSD to subdivide MBR 64-bit implementation of BSD disklabel used in
.Dx
to subdivide MBR
or GPT partitions. or GPT partitions.
Requires the Requires the
.Cm GEOM_PART_BSD64 .Cm GEOM_PART_BSD64
@ -772,50 +774,67 @@ See
.Sx CAVEATS .Sx CAVEATS
section below. section below.
.It Cm dragonfly-label32 .It Cm dragonfly-label32
A DragonFlyBSD partition subdivided into filesystems with a A
.Dx
partition subdivided into filesystems with a
.Bx .Bx
disklabel. disklabel.
The scheme-specific type is The scheme-specific type is
.Qq Li "!9d087404-1ca5-11dc-8817-01301bb8a9f5" .Qq Li "!9d087404-1ca5-11dc-8817-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-label64 .It Cm dragonfly-label64
A DragonFlyBSD partition subdivided into filesystems with a A
.Dx
partition subdivided into filesystems with a
disklabel64. disklabel64.
The scheme-specific type is The scheme-specific type is
.Qq Li "!3d48ce54-1d16-11dc-8696-01301bb8a9f5" .Qq Li "!3d48ce54-1d16-11dc-8696-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-legacy .It Cm dragonfly-legacy
A legacy partition type used in DragonFlyBSD. A legacy partition type used in
.Dx .
The scheme-specific type is The scheme-specific type is
.Qq Li "!bd215ab2-1d16-11dc-8696-01301bb8a9f5" .Qq Li "!bd215ab2-1d16-11dc-8696-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-ccd .It Cm dragonfly-ccd
A DragonFlyBSD partition used with Concatenated Disk driver. A
.Dx
partition used with Concatenated Disk driver.
The scheme-specific type is The scheme-specific type is
.Qq Li "!dbd5211b-1ca5-11dc-8817-01301bb8a9f5" .Qq Li "!dbd5211b-1ca5-11dc-8817-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-hammer .It Cm dragonfly-hammer
A DragonFlyBSD partition that contains a Hammer filesystem. A
.Dx
partition that contains a Hammer filesystem.
The scheme-specific type is The scheme-specific type is
.Qq Li "!61dc63ac-6e38-11dc-8513-01301bb8a9f5" .Qq Li "!61dc63ac-6e38-11dc-8513-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-hammer2 .It Cm dragonfly-hammer2
A DragonFlyBSD partition that contains a Hammer2 filesystem. A
.Dx
partition that contains a Hammer2 filesystem.
The scheme-specific type is The scheme-specific type is
.Qq Li "!5cbb9ad1-862d-11dc-a94d-01301bb8a9f5" .Qq Li "!5cbb9ad1-862d-11dc-a94d-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-swap .It Cm dragonfly-swap
A DragonFlyBSD partition dedicated to swap space. A
.Dx
partition dedicated to swap space.
The scheme-specific type is The scheme-specific type is
.Qq Li "!9d58fdbd-1ca5-11dc-8817-01301bb8a9f5" .Qq Li "!9d58fdbd-1ca5-11dc-8817-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-ufs .It Cm dragonfly-ufs
A DragonFlyBSD partition that contains an UFS1 filesystem. A
.Dx
partition that contains an UFS1 filesystem.
The scheme-specific type is The scheme-specific type is
.Qq Li "!9d94ce7c-1ca5-11dc-8817-01301bb8a9f5" .Qq Li "!9d94ce7c-1ca5-11dc-8817-01301bb8a9f5"
for GPT. for GPT.
.It Cm dragonfly-vinum .It Cm dragonfly-vinum
A DragonFlyBSD partition used with Logical Volume Manager. A
.Dx
partition used with Logical Volume Manager.
The scheme-specific type is The scheme-specific type is
.Qq Li "!9dd4478f-1ca5-11dc-8817-01301bb8a9f5" .Qq Li "!9dd4478f-1ca5-11dc-8817-01301bb8a9f5"
for GPT. for GPT.
@ -906,32 +925,44 @@ The scheme-specific type is
.Qq Li "!5808c8aa-7e8f-42e0-85d2-e1e90434cfb3" .Qq Li "!5808c8aa-7e8f-42e0-85d2-e1e90434cfb3"
for GPT. for GPT.
.It Cm netbsd-ccd .It Cm netbsd-ccd
A NetBSD partition used with Concatenated Disk driver. A
.Nx
partition used with Concatenated Disk driver.
The scheme-specific type is The scheme-specific type is
.Qq Li "!2db519c4-b10f-11dc-b99b-0019d1879648" .Qq Li "!2db519c4-b10f-11dc-b99b-0019d1879648"
for GPT. for GPT.
.It Cm netbsd-cgd .It Cm netbsd-cgd
An encrypted NetBSD partition. An encrypted
.Nx
partition.
The scheme-specific type is The scheme-specific type is
.Qq Li "!2db519ec-b10f-11dc-b99b-0019d1879648" .Qq Li "!2db519ec-b10f-11dc-b99b-0019d1879648"
for GPT. for GPT.
.It Cm netbsd-ffs .It Cm netbsd-ffs
A NetBSD partition that contains an UFS filesystem. A
.Nx
partition that contains an UFS filesystem.
The scheme-specific type is The scheme-specific type is
.Qq Li "!49f48d5a-b10e-11dc-b99b-0019d1879648" .Qq Li "!49f48d5a-b10e-11dc-b99b-0019d1879648"
for GPT. for GPT.
.It Cm netbsd-lfs .It Cm netbsd-lfs
A NetBSD partition that contains an LFS filesystem. A
.Nx
partition that contains an LFS filesystem.
The scheme-specific type is The scheme-specific type is
.Qq Li "!49f48d82-b10e-11dc-b99b-0019d1879648" .Qq Li "!49f48d82-b10e-11dc-b99b-0019d1879648"
for GPT. for GPT.
.It Cm netbsd-raid .It Cm netbsd-raid
A NetBSD partition used in a software RAID configuration. A
.Nx
partition used in a software RAID configuration.
The scheme-specific type is The scheme-specific type is
.Qq Li "!49f48daa-b10e-11dc-b99b-0019d1879648" .Qq Li "!49f48daa-b10e-11dc-b99b-0019d1879648"
for GPT. for GPT.
.It Cm netbsd-swap .It Cm netbsd-swap
A NetBSD partition dedicated to swap space. A
.Nx
partition dedicated to swap space.
The scheme-specific type is The scheme-specific type is
.Qq Li "!49f48d32-b10e-11dc-b99b-0019d1879648" .Qq Li "!49f48d32-b10e-11dc-b99b-0019d1879648"
for GPT. for GPT.
@ -1445,7 +1476,6 @@ label:
/sbin/gpart bootcode -b /boot/boot ada0s1 /sbin/gpart bootcode -b /boot/boot ada0s1
.Ed .Ed
.Ss VTOC8 .Ss VTOC8
.Pp
Create a VTOC8 scheme on Create a VTOC8 scheme on
.Pa da0 : .Pa da0 :
.Bd -literal -offset indent .Bd -literal -offset indent
@ -1498,7 +1528,6 @@ This is equivalent to the previous example:
/sbin/gpart destroy -F da0 /sbin/gpart destroy -F da0
.Ed .Ed
.Ss Backup and Restore .Ss Backup and Restore
.Pp
Create a backup of the partition table from Create a backup of the partition table from
.Pa da0 : .Pa da0 :
.Bd -literal -offset indent .Bd -literal -offset indent

View file

@ -27,7 +27,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 27, 2023 .Dd June 1, 2023
.Dt CAM 3 .Dt CAM 3
.Os .Os
.Sh NAME .Sh NAME

View file

@ -27,7 +27,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 27, 2023 .Dd June 1, 2023
.Dt CAMCONTROL 8 .Dt CAMCONTROL 8
.Os .Os
.Sh NAME .Sh NAME