On Tuesday 09 May 2006 02:36, Anthony Liguori wrote: > Jim C. Brown wrote: > > Aactually, the bug is in vfat not in qemu-img. > > Not really. POSIX doesn't mandate that ftruncate() increase a file > size. This is a Linux-ism and is only valid for filesystems that > support holes (which vfat doesn't).
Actually it isn't a Linux-ism, it's very common unix behavior. Both HPUX and Solaris extend the file, and are documented to do so. The linux manpages also document that the file is padded with zeros. It's only if you dig into the glibc documentation that you discover this is a lie. Paul _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel