This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls -l /usr : where has /usr/bin gone ?


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@5AT8S8CQEEX4QHI /usr
> > $ pwd
> > /usr
> >
> > Administrator@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@5AT8S8CQEEX4QHI /usr
> > $ cd bin
> >
> > Administrator@5AT8S8CQEEX4QHI /usr/bin
> > $ pwd
> > /usr/bin
> >
> >    ==================
> >    Alex Vinokur
> >      mailto:alexvn@go.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]