This is the mail archive of the cygwin 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: cygpath -w issue


Greetings, Christopher Faylor!

> On Wed, Apr 18, 2012 at 07:51:05AM -0500, Nellis, Kenneth wrote:
>>cygpath -w seems to be inconsistent with /dev/* things:
>>
>>$ uname -svr
>>CYGWIN_NT-5.1 1.7.14s(0.260/5/3) 20120406 19:41:34
>>$ cygpath -w /dev/clip
>>C:\cygwin\dev\clip
>>$ cygpath -w /dev/random
>>/dev/random
>>$
>>
>>I first thought it was because C:\cygwin\dev\random
>>does not exist, but then:
>>
>>$ cygpath -w /dev/xyz
>>C:\cygwin\dev\xyz
>>$

> /dev/random has special meaning to Cygwin.  There is no windows
> equivalent to it so translating it to a Windows path wouldn't
> make any sense.  You couldn't use it in a Windows program.

> /dev/xyz has no meaning so Cygwin just translates it to a MS-DOS
> path.

Could it at least translate /dev/clipboard to CLIP: ?
Not very useful in general, but I can use it.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 19.04.2012, <15:23>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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