repart: don't try to determine sector size from a disk image we should consider empty
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Jan 2024 15:05:37 +0000 (16:05 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 23 Jan 2024 19:58:08 +0000 (19:58 +0000)
commita575f2148f5bf619c75b3c2edadd7a94518ae74d
tree5e48fb9137b90c4553d421195b4ee5b52891a28a
parentab36d7c975e03adccb8fe2f02156653de2a617bc
repart: don't try to determine sector size from a disk image we should consider empty

If we are told to start from scratch we shouldn't look into the old
image to determine sector size. Looking there is confusing at best, but
plain wrong in many other cases.
src/partition/repart.c