cygpath -w issue

Christopher Faylor
Wed Apr 18 13:56:00 GMT 2012

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
>$ cygpath -w /dev/random
>I first thought it was because C:\cygwin\dev\random
>does not exist, but then:
>$ cygpath -w /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


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list