Bug#1098638: fdisk: creates partitions one sector too large

2025-02-21 Thread Thorsten Glaser
Dixi quod… >I’ve only tested that with GPT at the moment. Same for MBR: Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-10002152

Bug#1098638: fdisk: creates partitions one sector too large

2025-02-21 Thread Thorsten Glaser
Package: fdisk Version: 2.38.1-5+deb12u1 X-Debbugs-Cc: t...@mirbsd.de When I create a new partition with +sectors, fdisk creates one that is one sector too large: Command (m for help): n Partition number (1-128, default 1): First sector (2048-7814037134, default 2048): Last sector, +/-sectors or