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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Thu, 26 Aug 2010 07:10:39 -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:  0                 
  Platform:  All            |      Blocking:                    
----------------------------+-----------------------------------------------

Comment (by axeld):

 This is a classical problem, and usually I think one should always try to
 be as forgiving as possible when reading data. Ie. always write standards
 conforming data, but do an effort and try to read anything out there.

 We could just cut off the overlapping part of the earlier partition
 always, and let the file system decide whether or not it fits in there -
 BFS already checks this during mount. If the file system doesn't fit, it
 could mount itself read-only at least, so that you could still access the
 data. That would completely prevent a layering violation, and is still as
 convenient as it can get without risking any data loss.

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

Other related posts: