Subject: Re: Pathname context
From: Robert Collins <[email-masked]>
To: Max Bowsher <[email-masked]>
Cc: [email-masked], [email-masked]
Date: 03 Aug 2002 22:27:52 +1000

On Sat, 2002-08-03 at 21:41, Max Bowsher wrote:
> I can see why this _is_ happening, but is this:
> 
> max@POMELLO [~] $ cygpath -wa c:/cygwin/usr/lib
> C:\cygwin\lib
> 
> actually what _should_ happen?
> 
> Shouldn't a DOS-style path be taken as-is? I can understand the /usr/bin ->
> /bin, /usr/lib -> /lib mappings, and have even added my own /usr/sbin -> /sbin,
> but, to me, a DOS-style path should taken literally.

At a guess (check the source for an authoritative answer):

c:/cygwin/usr/lib -> /usr/lib (based on / mount point)
/usr/lib -> c:\cygwin\lib

Rob