delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/20/03:29:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <001b01c1719c$ea465800$6fc82486@medschool.dundee.ac.uk>
Reply-To: "fergus at bonhard dot uklinux dot net" <fergus AT bonhard DOT uklinux DOT net>
From: "fergus at bonhard dot uklinux dot net" <fergus AT bonhard DOT uklinux DOT net>
To: <cygwin AT cygwin DOT com>
Cc: "Fergus on Linux" <fergus AT bonhard DOT uklinux DOT net>
Subject: Where and what are /usr/bin/ and /usr/lib/ ?
Date: Tue, 20 Nov 2001 08:25:29 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Using mount, I kind of know that /usr/bin/ is a ghost copy of /bin/, and
/usr/lib/ is a ghost copy of /lib/ ...

but ...

1. I don't really understand why both of /usr/bin/ and /bin/ are put on the
path in /etc/profile;
2. I can move to /usr/bin/ using cd /usr/bin <Enter>, but I can't see it
using ls -al /usr <Enter>;
3. Time was when find / -name "ls*" <Enter> [for example] would find both
/bin/ls.exe and the virtual /usr/bin/ls.exe; now it just finds /bin/ls.exe

I'm not bothered by any of this - I don't understand enough about the
reasons underlying the virtual existence of these two folders - but could
one of the Cygwin honchos confirm that all of (1) to (3) are expected and
"correct" behaviours? Thanks.

Fergus


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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