Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Aug 2018 02:24:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        geom@FreeBSD.org
Subject:   [Bug 229977] geom/gpart does not care about GPT size, silently creates partitions that won't be persisted after reboot
Message-ID:  <bug-229977-14739-9Jd7x3iOZU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229977-14739@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229977-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=3D229977

--- Comment #8 from yushanwei <ysw@mpwhez.cn> ---
sys/geom/part/g_part_gpt.c:
57:CTASSERT(sizeof(struct gpt_ent) =3D=3D 128);
144:.gps_minent =3D 128,
470:if (hdr->hdr_entries =3D=3D 0 || hdr->hdr_entsz < 128 ||
471:(hdr->hdr_entsz & 7) !=3D 0)
=E6=98=AF=E4=B8=8D=E6=98=AF=E8=BF=99=E5=87=A0=E8=A1=8C=E9=99=90=E5=88=B6=E4=
=BA=86=E5=88=86=E5=8C=BA=E8=A1=A8=E7=9A=84=E5=A4=A7=E5=B0=8F

--=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-229977-14739-9Jd7x3iOZU>