bug-parted
[Top][All Lists]
Advanced

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

Re: The format of the GPT partition table is version 10000


From: Szakacsits Szabolcs
Subject: Re: The format of the GPT partition table is version 10000
Date: Wed, 3 Nov 2004 12:35:25 +0100 (MET)

Hello,

On Wed, 3 Nov 2004, Enrico Petracchi wrote:

> GNU Parted 1.6.15
> 
> Using /dev/sdc
> (parted) p                                                                
> Warning: The format of the GPT partition table is version 10000, which is 
> newer
> than what Parted can recognise.  Please tell us!  address@hidden
> Ignore/Cancel? i                                                          
> Error: Unable to satisfy all constraints on the partition.

Thanks for the report. 

Parted should recognise version 10000 GPT partition table. This is either
an internal type conversion bug or your GPT header size isn't 92 for
whatever reason.

I'm not familiar with GPT but Parted code has this section:

/libparted/disk_gpt.c:_generate_header() 

        gpt->Revision = PED_CPU_TO_LE32 (GPT_HEADER_REVISION_V1_00);
        gpt->HeaderSize = PED_CPU_TO_LE32 (92); /* per 1.02 spec */

Unless the GPT 1.00 spec defines HeaderSize to be 92 bytes too, this is
wrong (but otherwise, logically, too). The code above sets the GPT
revision to 1.00 but the header size is based on 1.02 spec.

What architecture do you have?

        Szaka





reply via email to

[Prev in Thread] Current Thread [Next in Thread]