#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 phoudoin): Replying to [comment:6 pdziepak]: > 1. This patch assumes sector size to be 512 which may not be true (e.g. 4Kn). Well, MBR partionning assume 512 bytes sectors, real or emulated (512e). AFAICT, support of native 4096 bytes sectors needs using GPT partitionning. > 2. What was wrong with `partition->Size() / partition->BlockSize() < UINT32_MAX` ? It was not checking that partition *offset* was also within 32 bits limits? -- Ticket URL: <https://dev.haiku-os.org/ticket/8990#comment:7> Haiku <https://dev.haiku-os.org> Haiku - the operating system.