[haiku-bugs] Re: [Haiku] #6452: [DriveSetup] Currupts MBR on some disks over 250GB.

  • From: "davidsaunders" <trac@xxxxxxxxxxxx>
  • Date: Mon, 27 Sep 2010 15:50:39 -0000

#6452: [DriveSetup] Currupts MBR on some disks over 250GB.
--------------------------------------+-------------------------------------
  Reporter:  davidsaunders            |         Owner:  stippi   
      Type:  bug                      |        Status:  new      
  Priority:  normal                   |     Milestone:  R1       
 Component:  Applications/DriveSetup  |       Version:  R1/alpha2
Resolution:                           |      Keywords:  MBR SATA 
Blocked By:                           |   Has a Patch:  0        
  Platform:  x86                      |      Blocking:           
--------------------------------------+-------------------------------------

Comment (by davidsaunders):

 I am not familiar enough with the API that DriveSetup is using to figure
 out were the problem is.

 Considering that DriveSetup uses the Operating System API to write out an
 FS (as far as I can tell), I do not see how it is possible for it to be
 more than 4K in size (256 Bytes max for partition editing code + 1024
 Bytes max for strings and partition types + 2048 Bytes for the windowed
 user interface [All estimates from experience on other projects rounded up
 to nearest power of 2 to give benefit of the doubt]). A system call should
 never take more than 64 Bytes application code, unless it takes a huge
 number of parameters (greater than 8).

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

Other related posts: