Date: Sun, 08 Jul 2018 19:47:50 +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-jdFO2c6iAG@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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229594 --- Comment #2 from Mahmoud Al-Qudsi <mqudsi@neosmart.net> --- @Andrey I'm intimately familiar with geom and gpart. Please refer to the final section of my PR concerning suggested fix. As you say, gpart works on partitions only, so it is a mistake for it to assert that an object of the disk class does not exist. The problem is that the _partition_ specified on this disk is not a geom object, and the error message should reflect that. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229594-14739-jdFO2c6iAG>
