From owner-svn-src-head@FreeBSD.ORG Wed Nov 19 18:01:07 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8531E5FF; Wed, 19 Nov 2014 18:01:07 +0000 (UTC) Received: from butcher-nb.yandex.net (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 1267B2EA6; Wed, 19 Nov 2014 18:01:05 +0000 (UTC) Message-ID: <546CDABC.9020103@FreeBSD.org> Date: Wed, 19 Nov 2014 21:00:28 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Warner Losh Subject: Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd References: <201411181706.sAIH6eS9051888@svn.freebsd.org> <546CC245.3070700@FreeBSD.org> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2MRhxSTs6fuE0J71uTBCFThaoiDkfcwwH" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers , Warner Losh X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 18:01:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2MRhxSTs6fuE0J71uTBCFThaoiDkfcwwH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 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 WBR, Andrey V. Elsukov --2MRhxSTs6fuE0J71uTBCFThaoiDkfcwwH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJUbNrCAAoJEAHF6gQQyKF6d4kH+wdqNndXCBn8e75YMBCjawcF XOmzEQAdnQz+P6jPOwV9Yjq4BQb8LVeLvW7qtqBTUo/T+eRfTFBTsHs2msXpu2n7 On+B0mhct0I3ZNn1qYPqC5tNy+Fu5WuPIy3sAqz4QWbFOGXYG85/9Dcu1qRBrdlc BC7NOpHEtslXyeRFszDe6n0OQEvLPyGt/mITk5Wvn1F+XYJ2T21YsvuRDOBGP7tj +NP7Or3ZFivOuXe7bSIItlYLhrhUDExNygRpr5JKdQGBWUPxwgXWTKNfoLVqGjD4 tsBvll1EZ0nFCHLooimC6WmGhPCmfK79luEEMGbYdqIpLpv+i07+DP7Wn5Xd4wQ= =df1b -----END PGP SIGNATURE----- --2MRhxSTs6fuE0J71uTBCFThaoiDkfcwwH--