Looking for someone to confirm if this is expected behavior, or a bug: With standard mount points:
c:\cygwin\bin on /usr/bin type system (binmode) c:\cygwin\lib on /usr/lib type system (binmode) * Calling realpath() to resolve "/bin" results in "/usr/bin". * Likewise, calling realpath() to resolve "/lib" results in "/usr/lib". If anything, I'd expect the opposite behavior - ie, realpath("/usr/bin") to return "/bin", etc. -Samrobb