[Bug 229977] geom/gpart does not care about GPT size, silently creates partitions that won't be persisted after reboot
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 7 02:24:52 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229977
--- Comment #8 from yushanwei <ysw at mpwhez.cn> ---
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.
More information about the freebsd-geom
mailing list