[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    Re: [Haiku-bugs] [Haiku] #4383: KDL on trying to partition a USB
From:       "mmlr" <trac () haiku-os ! org>
Date:       2009-08-31 13:19:14
Message-ID: 057.f1209d93a66100494b2d7f6aefc44671 () haiku-os ! org
[Download RAW message or body]

#4383: KDL on trying to partition a USB stick using DriveSetup
----------------------------+-----------------------------------------------
  Reporter:  jonas.kirilla  |       Owner:  mmlr          
      Type:  bug            |      Status:  closed        
  Priority:  normal         |   Milestone:  R1/alpha1     
 Component:  System/Kernel  |     Version:  R1 development
Resolution:  fixed          |   Blockedby:                
  Platform:  All            |    Blocking:                
----------------------------+-----------------------------------------------
Changes (by mmlr):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  R1 => R1/alpha1


Comment:

 Nope. The PartitionMapWriter hands in a 512 byte sized partition_table but
 writes fBlockSize, which in this case happens to be 2048. Though I don't
 understand why it wouldn't simply write sizeof(partition_table). Why would
 you want to overwrite the rest of the block? I've therefore taken the
 liberty to just write the size of the partition_table for now so that it
 doesn't crash (and only read the size of the partition table so it doesn't
 corrupt random memory). Fixed in r32857.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4383#comment:2>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.
_______________________________________________
Haiku-bugs mailing list
Haiku-bugs@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/haiku-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic