From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FcnPU-0002XM-Bh for qemu-devel@nongnu.org; Sun, 07 May 2006 13:51:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FcnPS-0002XA-1R for qemu-devel@nongnu.org; Sun, 07 May 2006 13:51:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcnPR-0002X7-R4 for qemu-devel@nongnu.org; Sun, 07 May 2006 13:51:09 -0400 Received: from [212.27.42.29] (helo=smtp3-g19.free.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FcnQ6-0004XK-Ey for qemu-devel@nongnu.org; Sun, 07 May 2006 13:51:50 -0400 Received: from [192.168.0.1] (lns-bzn-45-82-65-149-95.adsl.proxad.net [82.65.149.95]) by smtp3-g19.free.fr (Postfix) with ESMTP id B63CB487A2 for ; Sun, 7 May 2006 19:51:08 +0200 (CEST) Subject: Re: [Qemu-devel] qemu disk on vfat From: Yann Le =?ISO-8859-1?Q?Doar=E9?= In-Reply-To: References: <1147082690.5817.23.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1 Date: Mon, 08 May 2006 19:44:51 +0000 Message-Id: <1147117491.4409.5.camel@localhost> Mime-Version: 1.0 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 With : qemu-img create /mnt/partitions/windows0/qmeu-disk 4M qemu -hda /mnt/partitions/windows0/qmeu-disk=20 qemu: could not open hard disk image'/mnt/partitions/windows0/qmeu-disk' but with on ext3/ext2 or tmpfs, there is no problem.=20 Le dimanche 07 mai 2006 =E0 13:00 +0200, NyOS a =E9crit : > On Mon, 08 May 2006 12:04:50 +0200, Yann Le Doar=E9 =20 > wrote: >=20 > > Hi, > > > > It seems like qemu 0.8.0 does not accept image file from a vfat > > partition. Is it a bug ? > > > > Greetings. > > > > Yann Le Doar=E9. > > > > > > strace : > > > > open("/mnt/partitions/windows0/qmeu-disk", O_RDONLY|O_LARGEFILE) =3D = 7 > > read(7, "", 1024) =3D 0 > > close(7) =3D 0 > > open("/mnt/partitions/windows0/qmeu-disk", O_RDONLY|O_LARGEFILE) =3D = 7 > > _llseek(7, 128, [128], SEEK_SET) =3D 0 > > read(7, "", 4) =3D 0 > > close(7) =3D 0 > > write(2, "qemu: could not open hard disk i"..., 74qemu: could not ope= n > > hard disk image '/mnt/partitions/windows0/qmeu-disk' > > ) =3D 74 > > exit_group(1) =3D ? > > > > > > > > >=20 > Hi! >=20 > What size is it? Linux only supports vfat (FAT32) partitions with at mo= st =20 > 4GB files. A disc image can easily reach that. > If the problem is that, the bug is in the kernel, not in qemu. (Just tr= y =20 > to copy it an ext2/3 partition. If is isn't possible, or its size diffe= rs, =20 > the bug has nothing to do with qemu.) >=20 > Miklos Gyozo >=20 > ps. ext2/3 is surely better than vfat for disc images, cause it support= s =20 > holes >=20 >=20 > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel