From 76178b62d91b28e63f5268950e4f7d7a9ee3a9bf Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 12 Sep 2011 08:34:02 +0200 Subject: [PATCH] Use 'dd' option ibs/obs instead of bs See http://lists.gnu.org/archive/html/bug-coreutils/2011-03/msg00034.html --- qmrestore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmrestore b/qmrestore index de327991..a27571fd 100755 --- a/qmrestore +++ b/qmrestore @@ -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;