[pve-devel] r5270 - qemu-server/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Oct 13 11:53:16 CEST 2010


Author: dietmar
Date: 2010-10-13 09:53:16 +0000 (Wed, 13 Oct 2010)
New Revision: 5270

Modified:
   qemu-server/pve2/qmrestore
Log:


Modified: qemu-server/pve2/qmrestore
===================================================================
--- qemu-server/pve2/qmrestore	2010-10-13 07:49:43 UTC (rev 5269)
+++ qemu-server/pve2/qmrestore	2010-10-13 09:53:16 UTC (rev 5270)
@@ -131,7 +131,7 @@
     }
 
     if ($opts->{info}) {
-	exec 'dd', 'bs=256k', "of=/dev/null";
+	exec 'dd', 'bs=256K', "of=/dev/null";
 	die "couldn't exec dd: $!\n";
     }
 
@@ -218,7 +218,7 @@
     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', 'bs=256K', "of=$path";
 	die "couldn't exec dd: $!\n";
     } else {
 	exec '/usr/lib/qemu-server/sparsecp', $path;




More information about the pve-devel mailing list