[Bug 229594] Incorrect "No such geom" error when executing gpart with invalid or incorrect gpt partition number
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 8 20:34:37 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229594
--- Comment #4 from Mahmoud Al-Qudsi <mqudsi at 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.)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-geom
mailing list