]> 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>
Wed, 22 Apr 2020 13:03:26 +0000 (15:03 +0200)
commit79ef974a68d4e70b1ad69a18d70d8a04c9d00bd5
treea377f79cddc988589dcd3c3c8a7710fc8bf9c454
parent64cb2da8dca18e00893bcf7aa2955d93fd9acac9
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