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

  • From: "davidsaunders" <trac@xxxxxxxxxxxx>
  • Date: Wed, 22 Sep 2010 22:01:41 -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 propose writing a new disk partitioning utility.

 My thought is beginning with a simple partition editor that will read the
 current root sector, and does not directly modify the memory copy of the
 root sectors partition table; though rather copies the partition table
 into a separate buffer  and modifies this for primary partitions. This
 would still have a "GUI" front end as its primary user interface.

 As for as file system support for the partitioning utility most file
 systems are fairly simple, and it should not be difficult to support
 writing out FAT12/16/32, EXT2/3, BFS, and LEANFS data structures by
 writing directly to the raw device for the disk/partition.  And this could
 be added using a simple class (local to the program) for writing out a
 file system, thus making it easy to add other File Systems later.

 Later we can add support for extended partitions.

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

Other related posts: