From owner-freebsd-doc@FreeBSD.ORG Mon Dec 10 17:10:01 2012 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5D4FA1B for ; Mon, 10 Dec 2012 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8F55D8FC18 for ; Mon, 10 Dec 2012 17:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBAHA1Ri092458 for ; Mon, 10 Dec 2012 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBAHA1NA092457; Mon, 10 Dec 2012 17:10:01 GMT (envelope-from gnats) Date: Mon, 10 Dec 2012 17:10:01 GMT Message-Id: <201212101710.qBAHA1NA092457@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Bas Smeelen Subject: Re: docs/174270: gpart(8) man page doesn't describe output of "show" command X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Bas Smeelen List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 17:10:01 -0000 The following reply was made to PR docs/174270; it has been noted by GNATS. From: Bas Smeelen To: bug-followup@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--