qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: qemu disk on vfat


From: Ian C. Blenke
Subject: Re: [Qemu-devel] Re: qemu disk on vfat
Date: Mon, 08 May 2006 18:23:41 -0400
User-agent: Debian Thunderbird 1.0.6 (X11/20050914)

Yann Le Doaré wrote:

You are right ! :

sh-2.05b# qemu-img create /mnt/partitions/windows0/qmeu-disk 4M
Formating '/mnt/partitions/windows0/qmeu-disk', fmt=raw, size=4096 kB
sh-2.05b# ls -al /mnt/partitions/windows0/qmeu-disk -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=raw, size=40960 kB
sh-2.05b# ls -al /mnt/partitions/windows0/qmeu-disk -rwxr-xr-x 1 root root 0 2006-05-09
23:38 /mnt/partitions/windows0

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 _copy_ those sparse files to a FAT filesystem and they'll work just fine.

- Ian C. Blenke <address@hidden> http://ian.blenke.com/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]