From owner-svn-src-head@FreeBSD.ORG Wed Nov 19 18:49:51 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A28D89C6 for ; Wed, 19 Nov 2014 18:49:51 +0000 (UTC) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68DC0C7 for ; Wed, 19 Nov 2014 18:49:51 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id kx10so808090pab.2 for ; Wed, 19 Nov 2014 10:49:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=CJ27ZZgjPI8Kay1KeezM0dSZiIxdPxK1a0RRb9OGD3A=; b=PA2FPSDGPFKL/kvNnOPPW+fjKNGBvIwl2wxeJETkbA1oO3BJCpAne5O0RVd1iCfLS9 5OQBrKzsSX6nykv9lBpkUYBTd6D4SsFfSirALksqIeBfzPe+3vygHiB9b70cs6hV2Uqs h+dFzzlaL2j1RC92q9tve8IK4LU6CX1EfNuVIi7k3zqPr+VAAJhXyF90FZ6K+i46OET4 K+tNb/PqWUk3Prq7x+kiGJeiCaM4Z0eHSBhpW/9FoCsRFMA8zvVrYwnM9wlKgCkXEVYw V4oif6sgWECLCZZJQB7pSLD2bjMYkcoa+r5vL1m0zlnZvy96Wr1lsnSHdMzYZvuPfLFR 29Pw== X-Gm-Message-State: ALoCoQl2cwNWrpyvsIQAk8NMy7R9dmMW+3j2LEWLq7MlIeEj4P8JwTeFNLHtzeOknkQ+VsnkSlX2 X-Received: by 10.70.137.68 with SMTP id qg4mr8957021pdb.150.1416422985649; Wed, 19 Nov 2014 10:49:45 -0800 (PST) Received: from [10.64.24.117] ([69.53.236.236]) by mx.google.com with ESMTPSA id pz6sm2503920pbb.77.2014.11.19.10.49.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Nov 2014 10:49:45 -0800 (PST) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_BD9BCADD-2506-4EA3-8C17-3B312C06C92E"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd From: Warner Losh In-Reply-To: <546CDABC.9020103@FreeBSD.org> Date: Wed, 19 Nov 2014 11:49:38 -0700 Message-Id: References: <201411181706.sAIH6eS9051888@svn.freebsd.org> <546CC245.3070700@FreeBSD.org> <546CDABC.9020103@FreeBSD.org> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.1878.6) 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:49:51 -0000 --Apple-Mail=_BD9BCADD-2506-4EA3-8C17-3B312C06C92E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 19, 2014, at 11:00 AM, Andrey V. Elsukov wrote: > 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. Ah, OK. Thanks for the explanation. I understand. I=92ll work up a = patch. Warner --Apple-Mail=_BD9BCADD-2506-4EA3-8C17-3B312C06C92E 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 iQIcBAEBCgAGBQJUbOZCAAoJEGwc0Sh9sBEAnIsP/ivfpGG8512DK3kBczFjGI+z dezeLy0VD3kd3M0xKE4VCg70dkvblJVR21WdCVGHcBdxoR6zXOkTvRjDX4D8vuQm 90boY/XcGRhV0HRdBykIsj+I6y6XhW9ZWKlyqvl5mba0bpix4a5eeq0mESikmPcJ Q0kNYeBKSgFdNSpy65sUJx4GSf0WICR97aziZ7+1qa8/tiKsprmx+YWKN+sRGub+ ElkVjeb3oOHRQDbt8TMVYQUrW85NxiJP5gGv/uJrhrARy+UxgdLzM/5qpZDDsnc7 pFaFW91Iw/G3mSoJjBaE337dAbixUflfY32k38UW8PGypuitPJ0CJzr/A6yxuz3P F00JS7vS9j35TBJeoSbePXo+HDBOOJ0CSgU5oYjCp7Ghga1P/OIuJnBECznEQ8hB qdaYfb1p9V07sbAW54yINky+Vn5i+otZR4r9Fi95yzsiaKjtXTddVSMqzuvuh9ZX T4pQWVvVgfyIN4xE6RxwAMfQe9uPWXb6HXACYMyMXnJS8TScZfAEKVOkYryOxfFR eDf/4kx+iJtIwO6cc2bMCwTUjP8HkfK9MknF/f5oOkJRajsn4nyZUTtVHGY51Sui yUVnRUtktHY2D43w8sgmlx7ynbv7X7/8hQDMmhkDeuOxWvUMESaLU2SaV01azpt3 VLrITHYsRE1sqHKVkX7e =LSTw -----END PGP SIGNATURE----- --Apple-Mail=_BD9BCADD-2506-4EA3-8C17-3B312C06C92E--