From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdE8u-0000XO-U4 for qemu-devel@nongnu.org; Mon, 08 May 2006 18:23:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdE8r-0000VN-RG for qemu-devel@nongnu.org; Mon, 08 May 2006 18:23:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdE8r-0000VK-LS for qemu-devel@nongnu.org; Mon, 08 May 2006 18:23:49 -0400 Received: from [216.134.200.84] (helo=icb-mail-01.fw.nks.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FdE9n-0007CV-2E for qemu-devel@nongnu.org; Mon, 08 May 2006 18:24:47 -0400 Received: from [172.20.150.20] (icb-ws-02.nks.net [209.34.226.20]) by icb-mail-01.fw.nks.net (8.13.3/8.13.3/Debian-9icb) with ESMTP id k48MNfpT020209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 8 May 2006 18:23:42 -0400 Message-ID: <445FC4ED.6090508@blenke.com> Date: Mon, 08 May 2006 18:23:41 -0400 From: "Ian C. Blenke" MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: qemu disk on vfat References: <1147082690.5817.23.camel@localhost> <1147218062.9211.2.camel@localhost> In-Reply-To: <1147218062.9211.2.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Yann Le Doar=E9 wrote: >You are right ! : > >sh-2.05b# qemu-img create /mnt/partitions/windows0/qmeu-disk 4M >Formating '/mnt/partitions/windows0/qmeu-disk', fmt=3Draw, size=3D4096 k= B >sh-2.05b# ls -al /mnt/partitions/windows0/qmeu-disk =20 >-rwxr-xr-x 1 root root 0 2006-05-09 >23:37 /mnt/partitions/windows0/qmeu-disk >sh-2.05b# qemu-img create /mnt/partitions/windows0/qmeu-disk 40M >Formating '/mnt/partitions/windows0/qmeu-disk', fmt=3Draw, size=3D40960 = kB >sh-2.05b# ls -al /mnt/partitions/windows0/qmeu-disk =20 >-rwxr-xr-x 1 root root 0 2006-05-09 >23:38 /mnt/partitions/windows0 > =20 > FAT filesystems don't do sparse files (files with "holes" in them). The qemu-img "raw" option attempts to create sparse disk images. Create the image on a filesystem that does support sparse files and then=20 _copy_ those sparse files to a FAT filesystem and they'll work just fine. - Ian C. Blenke http://ian.blenke.com/