|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] r6677 broke access to physical FDD on Win32 |
Date: | Fri, 20 Mar 2009 20:56:14 -0500 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Luca Tettamanti wrote:
On Sat, Mar 21, 2009 at 12:02 AM, Anthony Liguori <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |