Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 21:00:28 +0300
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
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:  <546CDABC.9020103@FreeBSD.org>
In-Reply-To: <B523D699-9766-4806-9499-68FD9FF84437@bsdimp.com>
References:  <201411181706.sAIH6eS9051888@svn.freebsd.org> <546CC245.3070700@FreeBSD.org> <B523D699-9766-4806-9499-68FD9FF84437@bsdimp.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 19.11.2014 19:20, Warner Losh wrote:
>> Probably you need to use basetable->gpt_entries here instead of 
>> MAXPARTITIONS.
> 
> I’m 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.

-- 
WBR, Andrey V. Elsukov


[-- Attachment #2 --]
-----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-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?546CDABC.9020103>