From rfg@tristatelogic.com  Thu Apr  3 03:29:08 2014
Return-Path: <rfg@tristatelogic.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 74C4FA6C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 Apr 2014 03:29:08 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118])
	by mx1.freebsd.org (Postfix) with ESMTP id 56207EE1
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 Apr 2014 03:29:07 +0000 (UTC)
Received: by segfault.tristatelogic.com (Postfix, from userid 1237)
	id AA6643AE0E; Wed,  2 Apr 2014 20:29:01 -0700 (PDT)
Message-Id: <20140403032901.AA6643AE0E@segfault.tristatelogic.com>
Date: Wed,  2 Apr 2014 20:29:01 -0700 (PDT)
From: Ronald F.Guilmette <rfg@tristatelogic.com>
Reply-To: Ronald F.Guilmette <rfg@tristatelogic.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: rfg@tristatelogic.com
Subject: gpart device designator handling is inconsistant
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         188213
>Category:       bin
>Synopsis:       gpart(8): gpart device designator handling is inconsistant
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 03:30:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Thu Apr 03 05:29:02 UTC 2014
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
entr0py
>Environment:

9.1-RELEASE amd64

>Description:

The "list" and "show" sub-commands of the gpart(8) program behave quite
differently and inconsistantly, depending on the exact form/format of the
designator used for the device/geom of interest.  Specifically:

	gpart show ada0		-- works just fine
	gpart show /dev/ada0	-- works just fine
	gpart list ada0		-- works just fine
	gpart list /dev/ada0	-- produces error "No such geom"

It would be better if the "list" and "show" sub-commands of the
gpart(8) program behaved consistantly with one another.  Either they
should both reject device designators that include a leading "/dev/"
or else they should both accept this form.

>How-To-Repeat:

See above.

>Fix:

Sorry, I do not have code to fix this.  I am just reporting the bug.
>Release-Note:
>Audit-Trail:
>Unformatted:
