Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2018 20:34:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        geom@FreeBSD.org
Subject:   [Bug 229594] Incorrect "No such geom" error when executing gpart with invalid or incorrect gpt partition number
Message-ID:  <bug-229594-14739-MkEobPR3un@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229594-14739@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229594-14739@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229594

--- Comment #4 from Mahmoud Al-Qudsi <mqudsi@neosmart.net> ---
I understand what you're saying now. While I have a geom disk object named =
da0,
I do not have a geom part object with that name, and that's the object that
`gpart` is reporting does not exist. I interpreted the error message in a
global sense.

How can this error be made friendlier? Here `gpart` is universally declaring
there is no geom by that name, but technically it's that there is no geom _=
of
this class_ by that name, as `geom disk list | grep 'Geom name'` does return
`Geom name: da0`.

(In this particular instance it's too bad geom names are not unique across
classes, that would have cleared up a lot of confusion.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229594-14739-MkEobPR3un>