This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: BUG?: /usr/bin is accepted as /bin in PATH
- From: Jörg Schaible <Joerg dot Schaible at Elsag-Solutions dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 2 Dec 2003 13:37:22 +0100
- Subject: RE: BUG?: /usr/bin is accepted as /bin in PATH
Hello Huu-Dung,
no private mails, please keep the discussion on the list!
Nguyen, Huu-Dung wrote on Tuesday, December 02, 2003 1:08 PM:
> But after i have set
> ...
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"
> export PATH
> ...
> and see that my bash file in /usr/bin can NOT be called from
> anywhere in the cygwin session such as the case when the bash file in
> /bin or /usr/X11R6/bin ... ?
/usr/bin is a mount point! A mount point behaves in Cygwin as in other Unices: Anything in the directory of the mount point is not visible. For Cygwin /bin and /usr/bin is the same and since /usr/bin is mounted to /bin the latter directory defines the content of both locations.
Regards,
Jörg
--
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/