From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28517 invoked by alias); 31 Jul 2006 13:37:29 -0000 Received: (qmail 28510 invoked by uid 22791); 31 Jul 2006 13:37:29 -0000 X-Spam-Check-By: sourceware.org Received: from ACCESS1.CIMS.NYU.EDU (HELO access1.cims.nyu.edu) (128.122.81.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Jul 2006 13:37:26 +0000 Received: from localhost (localhost [127.0.0.1]) by access1.cims.nyu.edu (8.13.6+Sun/8.13.6) with ESMTP id k6VDbOis014356 for ; Mon, 31 Jul 2006 09:37:25 -0400 (EDT) Date: Mon, 31 Jul 2006 13:37:00 -0000 From: Igor Peshansky Reply-To: The Cygwin-Talk Maiming List To: The Cygwin-Talk Maiming List Subject: Re: Not directly Cygwin: Windows special filenames In-Reply-To: <44CD87F6.30308@hotmail.com.INVALID> Message-ID: References: <44CD82E3.4070401@hotmail.com.INVALID> <44CD87F6.30308@hotmail.com.INVALID> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Cygwin-Talk Maiming List X-SW-Source: 2006-q3/txt/msg00072.txt.bz2 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"