[Bug 229977] geom/gpart does not care about GPT size, silently creates partitions that won't be persisted after reboot

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 229977] geom/gpart does not care about GPT size, silently creates partitions that won't be persisted after reboot

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229977

--- Comment #8 from yushanwei <[hidden email]> ---
sys/geom/part/g_part_gpt.c:
57:CTASSERT(sizeof(struct gpt_ent) == 128);
144:.gps_minent = 128,
470:if (hdr->hdr_entries == 0 || hdr->hdr_entsz < 128 ||
471:(hdr->hdr_entsz & 7) != 0)
是不是这几行限制了分区表的大小

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[hidden email]"