NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Large Partition Disks Freezing



On Fri, Apr 01, 2011 at 04:16:34PM +0000, Michael van Elst wrote:
> matt%3am-software.com@localhost (Matt Thomas) writes:
> 
> >> 1 sector PMBR
> >> 1 sector GPT header
> >> 32 sectors GPT table (or rather 16kByte).
> 
> >Give newer drives with 4KB sectors, that 32 should become 30 or 38...
> 
> Would be an odd thing :-) With 4kB Sectors you still have
> 
> 1 sector PMBR
> 1 sector GPT header
> 4 sectors GPT table (or rather 16kByte).
> 
> and the first partition starts at sector 6.
> 
> The size of the GPT table is not necessarily fixed though, 16kByte is just
> the default which allows for 128 partitions. You can create larger
> tables with the gpt tool, see the -p option.

The EFI 1.10 spec says:

"A minimum of 16,384 bytes of space must be reserved for the GUID
Partition Entry array."

Maybe we should enforce this, I think Windows does.

        Jonathan Kollasch


Home | Main Index | Thread Index | Old Index