From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkqRk-0003Ex-Po for qemu-devel@nongnu.org; Fri, 20 Mar 2009 21:56:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkqRf-00037j-CL for qemu-devel@nongnu.org; Fri, 20 Mar 2009 21:56:23 -0400 Received: from [199.232.76.173] (port=43905 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkqRf-00037H-4F for qemu-devel@nongnu.org; Fri, 20 Mar 2009 21:56:19 -0400 Received: from qw-out-1920.google.com ([74.125.92.145]:29145) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkqRe-0005B3-Q5 for qemu-devel@nongnu.org; Fri, 20 Mar 2009 21:56:18 -0400 Received: by qw-out-1920.google.com with SMTP id 5so612921qwf.4 for ; Fri, 20 Mar 2009 18:56:17 -0700 (PDT) Message-ID: <49C4493E.9050701@codemonkey.ws> Date: Fri, 20 Mar 2009 20:56:14 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] r6677 broke access to physical FDD on Win32 References: <49C16D71.7020104@bttr-software.de> <49C41240.8030102@codemonkey.ws> <49C4177B.7080405@bttr-software.de> <49C42080.5080802@codemonkey.ws> <68676e00903201620n1ac29c01g9e3d7172f9bc69a4@mail.gmail.com> In-Reply-To: <68676e00903201620n1ac29c01g9e3d7172f9bc69a4@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Luca Tettamanti wrote: > On Sat, Mar 21, 2009 at 12:02 AM, Anthony Liguori wrote: > >> Is "a:" a valid filename in Windows? >> > > No, ":" is not a valid char for a file name. > > >> Is there a way in Windows to detect >> that a given file is actually a physical device? >> > > : is used for delimiting the mount point; actually the internals are a > bit more complicated (see [1]), stuff like A: or C: are reserved > special names, the "real" device names are \\.\A: or \\.\C: (where > \\.\ is the namespace used for devices). > Looks like the code is doing the right thing. Someone running windows is going to have to debug this because a: should be transformed to \\.\a: as far as I can read the code. Regards, Anthony Liguori > Luca > http://msdn.microsoft.com/en-us/library/aa365247.aspx#path_names_and_namespaces > > >