This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: Not directly Cygwin: Windows special filenames
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Date: Mon, 31 Jul 2006 09:37:24 -0400 (EDT)
- Subject: Re: Not directly Cygwin: Windows special filenames
- References: <44CD82E3.4070401@hotmail.com.INVALID> <44CD87F6.30308@hotmail.com.INVALID>
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
On Mon, 31 Jul 2006, Shaddy Baddah wrote:
> Hi again,
>
> On 7/31/2006 2:11 PM, Shaddy Baddah wrote:
> > Indeed cygpath -m /dev/sda or /dev/sda1 return the equivalents from this
> > page. Is this misleading, seeing as they are not really valid DOS names?
>
> Sorry, that was a little presumptions of me. Are paths such as
> \device\harddisk0\partition0. When I try to open a file to this path, it is
> not recognised as valid.
>
> Does it live in the same namespace, so to speak, as C:, \\suchandsuchserver,
> etc?
I would imagine you'd need to use '\\.\device\harddisk0\partition0', but
MSDN is not particularly forthcoming on this issue...
> That's where I am coming from in terms of an expectation of what cygwin
> -w would return.
I take it you mean "cygpath -w"... Yes, I suppose one would expect to be
able to use the exact output of "cygpath -w" to open the equivalent
Windows file/device... PTC, of course.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"