[haiku-bugs] Re: [Haiku] #8434: Building to GPT disks may write the wrong partition offset under Linux

  • From: "zymoticb" <trac@xxxxxxxxxxxx>
  • Date: Tue, 01 May 2012 16:40:30 -0000

#8434: Building to GPT disks may write the wrong partition offset under Linux
----------------------------+----------------------------
   Reporter:  tqh           |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+----------------------------

Comment (by zymoticb):

 I have added a patch to this bug (I modified PartitionMapParser.{h,cpp} ).
 This patch simply checks for the 8 byte signature after the MBR. It only
 modifys the _ReadPartitionTable private method. This is the first patch I
 have submitted against this codebase so please be verbose in any style
 issues. I returned B_BAD_DATA but if there is something more appropriate
 to return I can modify the patch.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8434#comment:20>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: