]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: ignore last-lba from script on --force
authorKarel Zak <kzak@redhat.com>
Mon, 2 Sep 2024 12:04:18 +0000 (14:04 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Sep 2024 12:09:55 +0000 (14:09 +0200)
commit4877d7f61a72e46aba3fc52f347d1cd74124dba5
tree0c0f4f6c44300f464c53eb561aa2795f1fbe5b9c
parent728659867e56378542ec86a3229a3d7cc973c76e
sfdisk: ignore last-lba from script on --force

The last LBA depends on the disk size. It seems like a good idea to
ignore it when using the --force option, in order to make it possible
to apply the script on smaller disks.

Addresses: https://github.com/util-linux/util-linux/issues/3186
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.8.adoc
disk-utils/sfdisk.c