[haiku-bugs] Re: [Haiku] #6487: [intel] overlapping partitions cannot be detected

  • From: "bebop" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Oct 2010 09:12:36 -0000

#6487: [intel] overlapping partitions cannot be detected
----------------------------+-----------------------------------------------
  Reporter:  rainbow-demon  |         Owner:  marcusoverhagen   
      Type:  bug            |        Status:  new               
  Priority:  normal         |     Milestone:  R1                
 Component:  Drivers/Disk   |       Version:  R1/Development    
Resolution:                 |      Keywords:  intel, overlapping
Blocked By:                 |   Has a Patch:  1                 
  Platform:  All            |      Blocking:                    
----------------------------+-----------------------------------------------

Comment (by bebop):

 Ok, so if the offsets are the same => previousSize == 0, is covered, the
 base case is covered, as stated above a sort is performed on the offsets,
 so the offsets are either equal or the current offset is strictly greater
 than the previous offset.

 Let the file systems take care of the partition being to short. I think
 that this takes care of all the cases. Thanks for all the feed back. Good
 to be writing code for Haiku again :-)

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

Other related posts: