delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/01/22:19:25

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 1 Oct 2002 22:19:15 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Alex Vinokur <alexvn AT come DOT to>
cc: cygwin AT cygwin DOT com
Subject: Re: ls -l /usr : where has /usr/bin gone ?
In-Reply-To: <3D99DA6E.F4918992@csksoftware.com>
Message-ID: <Pine.GSO.4.44.0210012214400.2690-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Alex,

To expand on this a bit:
/usr/bin exists only as a virtual mount point.  You can create a bin
subdirectory in /usr if you wish to see it in the directory listing.  You
will either have to do it through windows, or via the following sequence:

$ mount -m | grep /usr/bin\"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
$ umount -s /usr/bin
$ mkdir /usr/bin

Now cut and paste the output of "mount -m" here

$ mount -f -s -b "C:/cygwin/bin" "/usr/bin"

You should now see /usr/bin in `ls /usr`.
Hope this helps.
	Igor

On Tue, 1 Oct 2002, Johan Bezem wrote:

> Hi Alex,
>
> cf: 'man mount'
>
> Ciao,
>
> Johan Bezem
> CSK Software AG
>
> Alex Vinokur wrote:
> >
> > =============
> > Windows 2000
> > CYGWIN_NT-5.0
> > =============
> >
> > Hi,
> >
> > Directory /usr/bin exists but missing in ls /usr .
> > Any explanation ?
> > -----------------------------------------------------
> >
> > Administrator AT 5AT8S8CQEEX4QHI /usr
> > $ pwd
> > /usr
> >
> > Administrator AT 5AT8S8CQEEX4QHI /usr
> > $ ls -l
> > total 2
> > drwxr-xr-x   11 Administ None            0 Sep 30 20:08 X11R6
> > drwxr-xr-x    4 Administ None            0 Sep 30 20:07 autotool
> > drwxr-xr-x  109 Administ None            0 Sep 30 20:07 doc
> > drwxr-xr-x    3 Administ None            0 Sep 30 20:07 i686-pc-cygwin
> > drwxr-xr-x    2 Administ None            0 Sep 30 20:15 i686-pc-mingw32
> > drwxr-xr-x   38 Administ None            0 Sep 30 20:07 include
> > drwxr-xr-x    2 Administ None            0 Sep 30 20:07 info
> > drwxr-xr-x    3 Administ None            0 Sep 30 20:11 libexec
> > drwxr-xr-x    5 Administ None            0 Sep 30 20:07 local
> > drwxr-xr-x    2 Administ None            0 Sep 30 20:11 logs
> > drwxr-xr-x   19 Administ None            0 Sep 30 20:07 man
> > drwxr-xr-x    4 Administ None            0 Sep 30 20:07 sbin
> > drwxr-xr-x   36 Administ None            0 Sep 30 20:07 share
> > drwxr-xr-x    2 Administ None            0 Sep 30 20:07 src
> > drwxr-xr-x    6 Administ None            0 Sep 30 20:10 ssl
> > drwxr-xr-x    2 Administ None            0 Sep 30 20:07 tmp
> > drwxr-xr-x    2 Administ None            0 Sep 30 20:08 var
> >
> > Administrator AT 5AT8S8CQEEX4QHI /usr
> > $ cd bin
> >
> > Administrator AT 5AT8S8CQEEX4QHI /usr/bin
> > $ pwd
> > /usr/bin
> >
> >    ==================
> >    Alex Vinokur
> >      mailto:alexvn AT go DOT to
> >      http://up.to/alexvn
> >    ==================
> >
> > --
> > 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/
>
> --
> 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/
>
>

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
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