/bin & /usr/bin

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Sat Feb 7 22:02:00 GMT 2009


Lee D. Rothstein wrote:
> Peter Rosin wrote:
> 
>  > Den 2009-02-07 00:37 skrev Lee D.Rothstein:
> 
>  >>  >>
>  >>  >> "First, PATH must include the Windows path of the /bin, where 
> typically
>  >>  >>  both mintty.exe and cygwin1.dll' will be found. Remember, this 
> is a"
> 
>  >> Here, I think I have the path right, since, the Windows equivalent 
> of '/bin'
>  >> is 'c:\Cygwin\bin', which means I don't understand the following 
> comment
>  >> at all:
> 
>  > My (minor) point was that from the mintty point of view, the fact
>  > that /bin and /usr/bin are equivalent is a coincidence - it's a
>  > Cygwin quirk. Since mintty installs in /usr/bin,
> 
> Not on my Vista 64b System! Everything is in /bin, (c:\_r\bin) NOTHING is
> in /usr/bin. (c:\_r\usr\bin). I thought, I had remembered that, in prior
> systems almost the reverse was true, but I checked before I wrote the last
> reply (and checked again, just now).
> 
> As everyone has implied, all items in /bin, are accessible through 
> /usr/bin.
> 
> Is my system different? Why? Pilot error?

No.  In a default installation, there will be a 'C:\usr\bin' and a
'C:\usr\lib' that are empty as far as Windows is concerned.  'C:\bin'
and 'C:\lib' are mounted to these directories, respectively, so that
they are equivalent in the Cygwin environment.  See the output of
'mount' for further clarification.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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



More information about the Cygwin mailing list