Project

General

Profile

Feature #10425

GPT header size should be set without the padding

Added by Toomas Soome 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2019-02-19
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

The specification does state:

Size in bytes of the GPT Header. The HeaderSize must be greater than or equal
to 92 and must be less than or equal to the logical block size.

According to specification we are good. However, there are implementations, assuming the header size 92 is the only valid header and will refuse to accept our GPT. So we do like linux and freebsd are doing - we set header size to 92, by calculating the offset of the padding in the tail.

Verified by updating the GPT and confirming the tools are happy about it. Checked manually we indeed do have size 92 recorded.

History

#1

Updated by John Levon 4 months ago

This is being done under bug 10570 now, which has a little more detail.

#2

Updated by Toomas Soome 3 months ago

  • Status changed from In Progress to Closed

implemented by 10570.

Also available in: Atom PDF