I'm playing around with fdisk and I tried to create a partition on an empty USB drive. Here's how that went:
Command (m for help): n Partition number (1-128, default 1): 1 First sector (34-61187102, default 2048): 2048 Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-61187102, default 61187102): +30000000 Created a new partition 1 of type 'Linux filesystem' and of size 14,3 GiB. so just one partition with 30 million sectors.
However, when I check how many sectors it contains I get:
I'm checking with a different program and I see again that additional sector:
Sorry for the pettiness :) I'm learning.


+sizemeans. I guess that the partition appears as one extra sector larger in that GUI because it also counts the extra bootrecord/header which all the logical partitions have in the PC disk format.+1K(1024 bytes),fdiskwill create and report having created a partition of size1.5 KiB(3 instead of 2 sectors).+input format adds that number of sectors to the start sector to give the end sector. So if you specify a start and end of 2048 you get something that is 1 sector long. If you specify a start of 2048 and an end of+0you get an end of 2048+0 or 2048, and you get something that that is 1 sector long. You can reasonably assert that it would be more convenient if the+format subtracted one sector, but consistency has a lot of merit as well.