[parted-devel] [PATCH] More correct handling of the HeaderSize field in GPT labels

Otavio Salvador otavio at debian.org
Sun Jul 8 21:43:12 UTC 2007


"Matthew S. Harris" <mharris312 at gmail.com> writes:

> In general, if there end up being multiple, backwards-compatible
> versions of the EFI spec, then Parted should be able to operate on the
> set of headers it knows about and ignore the rest.

That's the major issue. I personally dislike to believe on that.

> In this case, the EFI spec shows a table of the fields in the header,
> and it includes as the last "field" all the remaining space in the
> block.  OpenSolaris interprets this to mean that HeaderSize is the
> size of the block; Parted obviously does not.  This is significant
> because the CRC of the header is supposed to be of HeaderSize bytes.
> That's why this change is needed.

Sorry but I didn't get what you mean by the way of OpenSolaris to
work.

You mean that OpenSolaris cannot check the CRC since it interprets the
size wrongly, is it?

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list