]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: only report I/O errors on --move-data
authorKarel Zak <kzak@redhat.com>
Wed, 22 Apr 2020 12:57:33 +0000 (14:57 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 15 May 2020 10:19:47 +0000 (12:19 +0200)
commit202cb6e2683e11485732c1daf9c71d705f6e703a
treef32c751f053356ef33affd74f8cdaec77d1db57b
parentb42a2c0f6d812e43ac8df142d3eb0890ef201a3a
sfdisk: only report I/O errors on --move-data

Now sfdisk stops everything on I/O error when moving data. It seems
better to report the error to user and continue as it's better to have
one bad sector in the partition than inconsistent all partition.

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