[haiku-bugs] Re: [Haiku] #8990: intel partiton addon allows creating partitions > 2TB (easy)

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 21 May 2017 19:14:42 -0000

#8990: intel partiton addon allows creating partitions > 2TB (easy)
------------------------------------------+----------------------------
   Reporter:  luroh                       |      Owner:  bonefish
       Type:  bug                         |     Status:  new
   Priority:  normal                      |  Milestone:  R1
  Component:  Partitioning Systems/Intel  |    Version:  R1/Development
 Resolution:                              |   Keywords:
 Blocked By:                              |   Blocking:
Has a Patch:  1                           |   Platform:  All
------------------------------------------+----------------------------

Comment (by pulkomandy):

 IIRC this was discussed on the mailing list, and the outcome is that there
 seems to be some confusion on the use of the block_size field in the
 structure, leading to the partition add-ons using the wrong block size
 when running them on an already formatted file system.
 We should fix the underlying issue and make sure the partitionning system
 get the correct info reliably (ie the actual disk sector size, no matter
 what filesystem is currently on it).
 The patches do not address the issue properly, and as such, they will
 break use of MBR on disks with 4K sectors, which is an uncommon but valid
 use case.

 So, the issue is still there, but the patches should be reworked to fix
 the actual issue (that the block_size in the partition info is overwritten
 with the block size of the file system inside it), rather than working
 around it.

--
Ticket URL: <https://dev.haiku-os.org/ticket/8990#comment:26>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: