From rfg@tristatelogic.com  Thu Nov 15 03:04:03 2012
Return-Path: <rfg@tristatelogic.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B634178E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Nov 2012 03:04:03 +0000 (UTC)
	(envelope-from rfg@tristatelogic.com)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118])
	by mx1.freebsd.org (Postfix) with ESMTP id 922AB8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Nov 2012 03:04:03 +0000 (UTC)
Received: by segfault.tristatelogic.com (Postfix, from userid 1237)
	id 9B2D950840; Wed, 14 Nov 2012 19:03:56 -0800 (PST)
Message-Id: <20121115030356.9B2D950840@segfault.tristatelogic.com>
Date: Wed, 14 Nov 2012 19:03:56 -0800 (PST)
From: Ronald F.Guilmette <rfg@tristatelogic.com>
Reply-To: Ronald F.Guilmette <rfg@tristatelogic.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Incorrect example9s) in man page for gpart(8)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         173637
>Category:       docs
>Synopsis:       Incorrect example(s) in man page for gpart(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wblock
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 15 03:10:00 UTC 2012
>Closed-Date:    Wed Jan 30 03:38:18 UTC 2013
>Last-Modified:  Wed Jan 30 03:38:18 UTC 2013
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 9.1-RC3-RELEASE amd64
>Organization:
entr0py
>Environment:

FreeBSD 9.1-RC3-RELEASE amd64

>Description:

This example:

   /sbin/gpart create -s GPT ad0

from the gpart(8) man page fails with

   gpart: arg0 'ad0': Invalid argument

This alternative however seemt to be accepted with no errors:

   /sbin/gpart create -s GPT ada0

(I suspect that this same eror may have infected many, most, or all of the
other examples on this web page also.)

>How-To-Repeat:

man 8 gpart

>Fix:

Edit the EXAMPLES section of the gpart(8) man page.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wblock 
State-Changed-When: Wed Jan 30 03:34:22 UTC 2013 
State-Changed-Why:  
Fixed in PR 174270.  Thanks. 


Responsible-Changed-From-To: freebsd-doc->wblock 
Responsible-Changed-By: wblock 
Responsible-Changed-When: Wed Jan 30 03:34:22 UTC 2013 
Responsible-Changed-Why:  
Fixed in PR 174270.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173637 
>Unformatted:
