[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:47:52 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229594

--- Comment #2 from Mahmoud Al-Qudsi <mqudsi at 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.


More information about the freebsd-geom mailing list