Package: fdisk
Version: 2.33.1-0.1
Severity: wishlist

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!

-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'testing-debug'), 
(500, 'stable-updates'), (500, 'stable-debug'), (500, 'unstable'), (500, 
'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 5.8.18-050818-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fdisk depends on:
ii  libc6          2.30-4
ii  libfdisk1      2.33.1-0.1
ii  libmount1      2.36-3+b2
ii  libncursesw6   6.1+20181013-2+deb10u2
ii  libsmartcols1  2.36-3+b2
ii  libtinfo6      6.1+20181013-2+deb10u2

fdisk recommends no packages.

fdisk suggests no packages.

-- no debconf information

Reply via email to