|
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 kBsh-2.05b# ls -al /mnt/partitions/windows0/qmeu-disk -rwxr-xr-x 1 root root 0 2006-05-0923: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 kBsh-2.05b# ls -al /mnt/partitions/windows0/qmeu-disk -rwxr-xr-x 1 root root 0 2006-05-0923: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/
[Prev in Thread] | Current Thread | [Next in Thread] |