[haiku-bugs] Re: [Haiku] #8864: DriveSetup should detect disk physical block sizes.

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Tue, 20 Nov 2012 11:59:14 -0000

#8864: DriveSetup should detect disk physical block sizes.
---------------------------------------+----------------------------
   Reporter:  Bouncer                  |      Owner:  stippi
       Type:  enhancement              |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/DriveSetup  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by korli):

 Theorically this would involve checking the value of bytes_per_sector on
 the device_geometry structure of the device.

 Now, how should it happen in src/add-ons/disk_systems/bfs? Could it begin
 by adding a BPartitionParameterEditor::PartitionBlockSizeChanged() in
 BPartitionParameterEditor?

 Though a TODO in headers/private/storage/PartitionParameterEditor.h
 indicates it shouldn't be done this way (
 GenericPartitionParameterChanged(partition_parameter_type, const
 BVariant&) )

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

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #8864: DriveSetup should detect disk physical block sizes. - korli