docs/174270: gpart(8) man page doesn't describe output of "show" command
Bas Smeelen
b.smeelen at ose.nl
Mon Dec 10 17:10:01 UTC 2012
The following reply was made to PR docs/174270; it has been noted by GNATS.
From: Bas Smeelen <b.smeelen at ose.nl>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: docs/174270: gpart(8) man page doesn't describe output of "show"
command
Date: Mon, 10 Dec 2012 18:02:46 +0100
This is a multi-part message in MIME format.
--------------020101090408090201090207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Warren Block suggested a much better text, so here is a changed patch.
--------------020101090408090201090207
Content-Type: text/plain; charset=us-ascii;
name="gpartmanpatch.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="gpartmanpatch.diff"
Index: sbin/geom/class/part/gpart.8
===================================================================
--- sbin/geom/class/part/gpart.8 (revision 244078)
+++ sbin/geom/class/part/gpart.8 (working copy)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 19, 2012
+.Dd December 10, 2012
.Dt GPART 8
.Os
.Sh NAME
@@ -455,6 +455,10 @@
.It Cm show
Show the current partition information of the specified geoms
or all geoms if none are specified.
+The default output includes the logical starting block of each
+partition, the partition size in blocks, the partition index number,
+the partition type, and a human readable partition size.
+Block sizes and locations are based on 512-byte logical blocks.
Additional options include:
.Bl -tag -width 10n
.It Fl l
@@ -979,14 +983,14 @@
Exit status is 0 on success, and 1 if the command fails.
.Sh EXAMPLES
Create a GPT scheme on
-.Pa ad0 :
+.Pa ada0 :
.Bd -literal -offset indent
-/sbin/gpart create -s GPT ad0
+/sbin/gpart create -s GPT ada0
.Ed
.Pp
Embed GPT bootstrap code into a protective MBR:
.Bd -literal -offset indent
-/sbin/gpart bootcode -b /boot/pmbr ad0
+/sbin/gpart bootcode -b /boot/pmbr ada0
.Ed
.Pp
Create a dedicated
@@ -1011,15 +1015,15 @@
offset or alignment.
The boot partition itself is aligned on a 4 kB boundary.
.Bd -literal -offset indent
-/sbin/gpart add -b 40 -s 88 -t freebsd-boot ad0
-/sbin/gpart bootcode -p /boot/gptboot -i 1 ad0
+/sbin/gpart add -b 40 -s 88 -t freebsd-boot ada0
+/sbin/gpart bootcode -p /boot/gptboot -i 1 ada0
.Ed
.Pp
Create a 512MB-sized
.Cm freebsd-ufs
partition to contain a UFS filesystem from which the system can boot.
.Bd -literal -offset indent
-/sbin/gpart add -s 512M -t freebsd-ufs ad0
+/sbin/gpart add -s 512M -t freebsd-ufs ada0
.Ed
.Pp
Create an MBR scheme on
--------------020101090408090201090207--
More information about the freebsd-doc
mailing list