Control: tags -1 + upstream Hello Marc Lehmann,
thank you for your mail. * Marc Lehmann <debian-report...@plan9.de>: > 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. Sounds reasonable to me. However that's not a Debian-specific thing. Please report this upstream. Instructions are here: https://sources.debian.org/src/util-linux/2.33.1-0.1/README/ Many thanks, Chris