svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

Andrey V. Elsukov ae at FreeBSD.org
Wed Nov 19 18:01:07 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20141119/b1b66231/attachment.sig>


More information about the svn-src-head mailing list