mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 20:59:46 +00:00
Use 'dd' option ibs/obs instead of bs
See http://lists.gnu.org/archive/html/bug-coreutils/2011-03/msg00034.html
This commit is contained in:
parent
ca0cef2624
commit
76178b62d9
@ -218,7 +218,7 @@ if ($opts->{extract}) {
|
||||
print STDERR "restore data to '$path' ($filesize bytes)\n";
|
||||
|
||||
if ($opts->{prealloc} || $format ne 'raw' || (-b $path)) {
|
||||
exec 'dd', 'bs=256K', "of=$path";
|
||||
exec 'dd', 'ibs=256K', 'obs=256K', "of=$path";
|
||||
die "couldn't exec dd: $!\n";
|
||||
} else {
|
||||
exec '/usr/lib/qemu-server/sparsecp', $path;
|
||||
|
Loading…
Reference in New Issue
Block a user