delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/22/20:32:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <40D9B0A6.7090006@hq.astra.ph>
Date: Wed, 23 Jun 2004 08:32:38 -0800
From: Carlo Florendo y Flora <list-subscriber AT hq DOT astra DOT ph>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /usr/bin exists not; man can't find nroff; permissions inconsistent
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> <Pine DOT GSO DOT 4 DOT 58 DOT 0406220820440 DOT 12395 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.58.0406220820440.12395@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski wrote:

>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.
>
>  
>
Oh Igor!  Thanks for the pointers.  I guess I have to read more about 
cygwin mounts.

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

Ok.  I'll do that!

Thanks!

Best Regards,

Carlo Florendo y Flora
Astra Philippines Inc.
www.astra.ph







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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019