Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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, 22 Jun 2004 08:26:24 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Carlo Florendo cc: cygwin AT cygwin DOT com Subject: Re: /usr/bin exists not; man can't find nroff; permissions inconsistent In-Reply-To: <40D8BF4A.3080308@hq.astra.ph> Message-ID: References: <40D8B819 DOT 4080908 AT hq DOT astra DOT ph> <40D8B895 DOT 2010900 AT hq DOT astra DOT ph> <1641693845 DOT 20040622110335 AT SECURITY DOT NNOV DOT RU> <40D8BF4A DOT 3080308 AT hq DOT astra DOT ph> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/