Date: Sun, 08 Jul 2018 19:37:58 +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-m0Byk5PbNh@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 Andrey V. Elsukov <ae@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #1 from Andrey V. Elsukov <ae@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 obj= ects 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 g= eom 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. --=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-m0Byk5PbNh>
