Date: Thu, 20 Nov 2014 10:23:38 -0700 From: Warner Losh <imp@bsdimp.com> To: "Andrey V. Elsukov" <ae@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>, Warner Losh <imp@FreeBSD.org> Subject: Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd Message-ID: <6A0453EA-0DAC-4901-AF29-F75E2787B76A@bsdimp.com> In-Reply-To: <546E08BA.1020707@FreeBSD.org> References: <201411181706.sAIH6eS9051888@svn.freebsd.org> <546CC245.3070700@FreeBSD.org> <B523D699-9766-4806-9499-68FD9FF84437@bsdimp.com> <546CDABC.9020103@FreeBSD.org> <AC547D14-AE9E-4E26-9844-B8B6E7C0050D@bsdimp.com> <546E08BA.1020707@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_07A06FE2-EABC-4DB7-BD19-9D7B67C4EE56 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 20, 2014, at 8:28 AM, Andrey V. Elsukov <ae@FreeBSD.org> wrote: > On 19.11.2014 21:49, Warner Losh wrote: >>=20 >> On Nov 19, 2014, at 11:00 AM, Andrey V. Elsukov <ae@FreeBSD.org> = wrote: >>=20 >>> On 19.11.2014 19:20, Warner Losh wrote: >>>>> Probably you need to use basetable->gpt_entries here instead of=20 >>>>> MAXPARTITIONS. >>>>=20 >>>> I=92m having trouble connecting the dots between GPT and BSDlabels. = Why >>>> would this field be relevant? Is it just poorly named? = MAXPARTITIONS >>>=20 >>> gpt_entries isn't related to GPT, it is `geom partition table's` = number >>> of partitions entries. Each instance of partition table (i.e. geom) = can >>> have own number of partitions. MBR always has 4, but GPT or BSD can = have >>> different numbers. >>=20 >> Ah, OK. Thanks for the explanation. I understand. I=92ll work up a = patch. >=20 > Hi, Warner >=20 > since there are some reports about strange behavior of old utilities > after this commit, maybe we won't repair them by this way? > What you think about this path? It doesn=92t thrill me. What=92s it trying to do? And localizing it to = fsck is useless. And where are these reports? Warner --Apple-Mail=_07A06FE2-EABC-4DB7-BD19-9D7B67C4EE56 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUbiOaAAoJEGwc0Sh9sBEAo0IP/Ajsfkf5WK3202Ob/awWVdhT nqRN31xOgItgwdcTHSNsHQaGKn3GmxEGWO8EROGhtD5FzxyHADMZU+lJ/xgxN4lo ICfWEUnWvWm06J45qlZLQPUlPpjR/Q2Pr6pIy0JtDHNEBWLtoNsyAhPZZGKzA/IL hPakHQh4DCLnfwoAwL0UHQsdNi95LpDHdRT8GuTpF30Z8kCE4sN4Xffz5YIO0Cmk jWYbmz+L7FzDzgjubRmEL0y533WMr5Q/GYR2MX2dwk9Gpcloaui/Z/ZZc+Z4KLe7 9NVq/VkqYTFjAj75xu9Ykfi51vLUFvThhL3GRZsSFyTiYRqKa6osXHd7WMfk79Sa yiFSD3FLSGcLV0I75AC+vUoNqzctj4z2ituGM27EnZS6XZ4ap/PvC0rLhjkZR7uy jnGov1kRtWZhcD4AN1UfyhLhUZykQv+WI0FDRVgdgIhpkpLzAVi0xLY3vGY+nJJY 3A4+T9RP9nbPYQRe5xvfkbmQ617AlhR7G4F4YngVuH3odpFm9LKcyik72k/b6lag HYrmNdIeU5joDNJCeByNtahx6tgm6ivpfy4Kcm8ZDGsiBNb5tRylgX/RCvH4aQR6 J8uHVtHIhwGb1An+IisgLzjgizR0ynUqhVg3MJifJly2ZXQHavCpG1y7+ICXE+OZ 10Ga1XKHfjJrqodxNK6a =/TOi -----END PGP SIGNATURE----- --Apple-Mail=_07A06FE2-EABC-4DB7-BD19-9D7B67C4EE56--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6A0453EA-0DAC-4901-AF29-F75E2787B76A>