delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/02/07:37:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
Subject: RE: BUG?: /usr/bin is accepted as /bin in PATH
MIME-Version: 1.0
Date: Tue, 2 Dec 2003 13:37:22 +0100
x-mimeole: Produced By Microsoft Exchange V6.0.6249.0
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC24F46F@esmail.elsag.de>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg DOT Schaible AT Elsag-Solutions DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hB2CbX1D022931

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019