[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 19:38:01 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229594
Andrey V. Elsukov <ae at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ae at FreeBSD.org
--- Comment #1 from Andrey V. Elsukov <ae at FreeBSD.org> ---
gpart is utility that works with geom objects of class PART. It accepts only
objects of class PART, when it is required. So, if you are trying to list
partitions of object of class PART, you need to check if there are some objects
of that class. You can use "gpart show", or "geom part show", or "geom part
list" to see if there are some objects. At the same time there can be some geom
objects of class DISK, e.g. da0 and da1. Also in the same time there can be
geom objects of type PART da0 and da1. But they are different objects. If geom
object of type PART with name da0 doesn't exist. gpart(8) can't assume you mean
gptid/c3ae7a7e-bc4c-11e3-ab8c-4437e6acfe08. It is different object with
different name.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-geom
mailing list