On Nov 11, 2008, at 3:55 PM, David Laight wrote:
On Tue, Nov 11, 2008 at 07:00:01PM +0000, jakllsch%kollasch.net@localhost wrote:Synopsis: sizeof(struct gpt_hdr); is "wrong" on amd64Perhaps add a '__packed' attribute to the GPT structures.There is a typedef for a 64bit int with 32bit alignment somewhere. That is better than applying packed to the entire structure.
No, there's not.The problem is likely due to the fact that the struct has 3 uint32_t's at the end, rather than 2 or 4.
David -- David Laight: david%l8s.co.uk@localhost
-- thorpej