On Nov 19, 2014, at 11:00 AM, Andrey V. Elsukov <a...@freebsd.org> wrote:
> 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. Ah, OK. Thanks for the explanation. I understand. I’ll work up a patch. Warner
signature.asc
Description: Message signed with OpenPGP using GPGMail