]>
git.ipfire.org Git - thirdparty/util-linux.git/commit - disk-utils/fdisk.c
fdisk: add 'T' command to discard sectors
We currently have blkdiscard(8), but it can be difficult to use for
unpartitioned areas or for partitions when working with a whole-disk
device.
This commit adds BLKDISCARD support to fdisk, so that the user does
not have to specify any range, but instead follows the partition
table.
Addresses: https://github.com/util-linux/util-linux/issues/2804
Signed-off-by: Karel Zak <kzak@redhat.com>