Dear Maintainer,
sfdisk by default aligns partition sizes to one sector (at least on some
disks) when sizes are not exactly specified. Larger alignments can be very
useful nowadays, for example, disk encryption can be more efficient when
the sector size for encryption is 4096 octets, requiring a partition size
that is an exact multiple of 8 sectors.
Unfortunately, when sfidsk auto-sizes a partition and the device has
an "odd" size and the size is not specified, sfdisk will simply (and
correctly) use the full remaining disk, causing e.g. cryptsetup with
--sector-size 4096 to fail.
It would be nice if it were possible to specify an alignment factor in
bytes or sectors that would be used when creating partitions.
Thanks!