This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Not directly Cygwin: Windows special filenames


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]