Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Apr 2014 20:29:01 -0700 (PDT)
From:      "Ronald F.Guilmette" <rfg@tristatelogic.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        rfg@tristatelogic.com
Subject:   bin/188213: gpart device designator handling is inconsistant
Message-ID:  <20140403032901.AA6643AE0E@segfault.tristatelogic.com>
Resent-Message-ID: <201404030330.s333U0hg006825@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188213
>Category:       bin
>Synopsis:       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:
>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140403032901.AA6643AE0E>