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

#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:  0                 
  Platform:  All            |      Blocking:                    
----------------------------+-----------------------------------------------

Comment (by stippi):

 I've tried to explain this in my previous comment, detecting the file
 systems and using their information when parsing partitions is a layering
 violation. The (right now) clean design of the Haiku Disk Device API would
 have to be completely changed just to gracefully handle a situation that
 shouldn't happen in the first place, and which can be handled gracefully
 only in corner cases. Where do you stop? Suppose we introduce the layering
 violation to detect and allow your situation, then the next user comes
 along and says: Well, I have overlapping partitions, and even my file
 systems actually overlap according to the allocated size of each, but --
 by pure chance -- I don't have any data in the region where they overlap,
 can you please allow this? :-)

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

Other related posts: