]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: add sector-size to dump
authorKarel Zak <kzak@redhat.com>
Mon, 16 Sep 2019 08:29:41 +0000 (10:29 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Sep 2019 08:29:41 +0000 (10:29 +0200)
commite56ca0681514dcf0846225cd67a72d1ab260b8a6
tree93bccbdb1747a47632f4694eb10b5b7bd9e11e91
parent9245c84dfdd1949a67d9247971e65d4ff64a6f65
libfdisk: add sector-size to dump

We do not use sector-size from dumps to create partition tables,
because it's always necessary to use real device specific settings.

The new sector-size value is usable when you use the dump as
a description of the device or disk image.

Addresses: https://github.com/karelzak/util-linux/issues/869
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.8
libfdisk/src/script.c