[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: qemu disk on vfat
From: |
Jim C. Brown |
Subject: |
Re: [Qemu-devel] Re: qemu disk on vfat |
Date: |
Mon, 8 May 2006 18:48:46 -0400 |
User-agent: |
Mutt/1.4.2.1i |
On Mon, May 08, 2006 at 11:05:00PM +0100, Michael McConnell wrote:
> IIRC creating a "raw" QEMU disc image makes use of sparse files, a concept
> not supported under FAT16/32. A qcow disc image should work fine. If you
> want to create a raw disc image on a FAT partition, use (from your example)
> dd if=/dev/zero of=/mnt/partitions/windows0/qmeu-disk bs=1024 count=40960
>
> It'll take a bit longer than qemu-img would but then it's having to write out
> every block in the disc image to the real disc.
>
> Hope that helps.
>
Here is a patch that fixes the raw block driver. It is able to detect when
creation of a sparse file failed and failback to using the dd method.
qemu-img works correctly with this patch.
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
block.patch
Description: Text document
- Re: [Qemu-devel] qemu disk on vfat, (continued)
- Re: [Qemu-devel] qemu disk on vfat, Johannes Schindelin, 2006/05/07
- [Qemu-devel] Re: qemu disk on vfat, Anthony Liguori, 2006/05/08
- Re: [Qemu-devel] Re: qemu disk on vfat, Yann Le Doaré, 2006/05/08
- Re: [Qemu-devel] Re: qemu disk on vfat, Michael McConnell, 2006/05/08
- Re: [Qemu-devel] Re: qemu disk on vfat,
Jim C. Brown <=
- Re: [Qemu-devel] Re: qemu disk on vfat, Jim C. Brown, 2006/05/08
- Re: [Qemu-devel] Re: qemu disk on vfat, Jim C. Brown, 2006/05/08
- Re: [Qemu-devel] Re: qemu disk on vfat, Anthony Liguori, 2006/05/08
- Re: [Qemu-devel] Re: qemu disk on vfat, Paul Brook, 2006/05/08
- Re: [Qemu-devel] Re: qemu disk on vfat, Jim C. Brown, 2006/05/16
- Re: [Qemu-devel] Re: qemu disk on vfat, Ian C. Blenke, 2006/05/08