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 <[EMAIL PROTECTED]> http://ian.blenke.com/
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel