This is the mail archive of the cygwin 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: /usr/bin exists not; man can't find nroff; permissions inconsistent


On Tue, 22 Jun 2004, Carlo Florendo wrote:

> 3APA3A wrote:
>
> >Dear Carlo Florendo,
> >
> >>d:\cygwin\/bin                     /usr/bin                  system  binmode
> >>d:\cygwin\/lib                     /usr/lib                  system  binmode
> >
> >remount /usr/bin and /usr/lib correctly.
>
> Great!  First, from cmd prompt, I unmounted everything using:
>
> umount -A
>
> Then, I mounted the root directory using
>
> mount d:\cygwin  /
>
> Then, I made /usr/bin a symbolik link to /bin by:
>
> ln -s /bin/ /usr/bin

NO, NO, NO!  Don't use symlinks.  /usr/bin and /usr/lib are supposed to be
*mounted*.  Simply "mount -f d:/cygwin/bin /usr/bin" and "mount -f
d:/cygwin/lib /usr/lib".  Otherwise lots of stuff will break when you
least expect it.  Just for consistency, you might also want to "mount -f
-b d:/cygwin/usr/X11R6/lib/X11/fonts /usr/X11R6/lib/X11/fonts", although
that's optional since your primary mount is binmode.

> Now, everything works fine now.  Gee, why did I have to do that?  Isn't
> that supposed to be taken cared of by setup?

I have a feeling you've hit on the "trailing backslash in Cygwin root"
bug.  It was discussed on the list about a month ago -- just search the
archives (using Google).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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


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