From 2c6cadd49ee86bf2df6bf61c614258dfd97f7115 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 18 Dec 2005 18:31:45 +0000 Subject: [PATCH] update git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1718 c046a42c-6fe2-441c-8c8c-71466251a162 --- Changelog | 2 ++ qemu-doc.texi | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/Changelog b/Changelog index 6e42ec76c6..9fa0279452 100644 --- a/Changelog +++ b/Changelog @@ -17,6 +17,8 @@ version 0.7.3: - MIPS fixes to boot Linux (Daniel Jacobowitz) - NX bit support - Initial SPARC SMP support (Blue Swirl) + - Major overhaul of the virtual FAT driver for read/write support + (Johannes Schindelin) version 0.7.2: diff --git a/qemu-doc.texi b/qemu-doc.texi index f970b2a59e..41227977b3 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -755,6 +755,39 @@ command (or @key{C-a s} in the serial console). @include qemu-img.texi +@subsection Virtual FAT disk images + +QEMU can automatically create a virtual FAT disk image from a +directory tree. In order to use it, just type: + +@example +qemu linux.img -hdb fat:/my_directory +@end example + +Then you access access to all the files in the @file{/my_directory} +directory without having to copy them in a disk image or to export +them via SAMBA or NFS. The default access is @emph{read-only}. + +Floppies can be emulated with the @code{:floppy:} option: + +@example +qemu linux.img -fda fat:floppy:/my_directory +@end example + +A read/write support is available for testing (beta stage) with the +@code{:rw:} option: + +@example +qemu linux.img -fda fat:floppy:rw:/my_directory +@end example + +What you should @emph{never} do: +@itemize +@item use non-ASCII filenames ; +@item use "-snapshot" together with ":rw:" ; +@item expect it to work when loadvm'ing. +@end itemize + @section Network emulation QEMU can simulate several networks cards (NE2000 boards on the PC -- 2.39.2