From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5ZAa-00089W-TA for qemu-devel@nongnu.org; Thu, 08 Mar 2012 03:58:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5ZAW-0000Hi-80 for qemu-devel@nongnu.org; Thu, 08 Mar 2012 03:57:56 -0500 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:53636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5ZAV-0000HG-Js for qemu-devel@nongnu.org; Thu, 08 Mar 2012 03:57:52 -0500 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 8 Mar 2012 14:27:39 +0530 Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q288va7A4427792 for ; Thu, 8 Mar 2012 14:27:37 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q28ESD8f024022 for ; Fri, 9 Mar 2012 01:28:13 +1100 Message-ID: <4F58747E.5030709@linux.vnet.ibm.com> Date: Thu, 08 Mar 2012 16:57:34 +0800 From: Mark Wu MIME-Version: 1.0 References: <4F584D95.4050208@linux.vnet.ibm.com> In-Reply-To: <4F584D95.4050208@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Virtual FAT disk images error, can somebody help me , thank you ! List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhi Hui Li Cc: QEMU-devel , pingfanl@cn.ibm.com, Stefan Hajnoczi On 03/08/2012 02:11 PM, Zhi Hui Li wrote: > > > when I use the command : > > 1: mkdir /my_directory > > 2: qemu linux.img -fda fat:floppy:/my_directory > > when I write to the floppy(just "mkdir test.dir" in the floppy), the > error occur: > > "FLOPPY ERROR: fdctrl_transfer_handler: writing sector 1" > > and nothing is written to the /my_directory. > > I don't know why? > > > can you help me, thank you very much! > > > Zhi Hui, You could try: qemu linux.img -fda fat:floppy:rw:/my_directory By default, it's only allow read-only access. Mark