From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Smith Subject: kvm-87: qemu-img creates raw file with wrong size Date: Mon, 13 Jul 2009 15:37:12 -0600 Message-ID: <4A5BA908.7080003@vuser.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig25668138BB6CB09FB32C0A0C" To: KVM list Return-path: Received: from mail-px0-f185.google.com ([209.85.216.185]:62734 "EHLO mail-px0-f185.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757154AbZGMVhT (ORCPT ); Mon, 13 Jul 2009 17:37:19 -0400 Received: by pxi15 with SMTP id 15so734015pxi.33 for ; Mon, 13 Jul 2009 14:37:19 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig25668138BB6CB09FB32C0A0C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Greetings, Running `qemu-img create -f raw file.raw 1000` creates a 512 byte file rather than the 1000K file the docs imply. =46rom the help message: " 'size' is the disk image size in kilobytes. Optional suffixes 'M' (megabyte, 1024 * 1024) and 'G' (gigabyte, 1024 * 1024 * 1024) are supported any 'k' or 'K' is ignored " Did the default change or is there bug with the create? --=20 Randy Smith http://www.vuser.org/ http://perlstalker.blogspot.com/ --------------enig25668138BB6CB09FB32C0A0C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpbqQsACgkQZpJnK+JmZYyp9ACeJ3D49KaP/gr8qLm77GM3LORB S/EAn24QD37HB90k5U9GbEkhTWHq9yl/ =mXy1 -----END PGP SIGNATURE----- --------------enig25668138BB6CB09FB32C0A0C--