bin/188213: gpart device designator handling is inconsistant
Ronald F.Guilmette
rfg at tristatelogic.com
Thu Apr 3 03:30:01 UTC 2014
>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:
More information about the freebsd-bugs
mailing list