delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/25/21:06:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000626010626.3859.qmail@web116.yahoomail.com>
Date: Sun, 25 Jun 2000 18:06:26 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: Why does cygwin 1.1.2 hide /usr/bin?
To: Ross Smith <nospam2 AT pobox DOT com>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Ross Smith <nospam2 AT pobox DOT com> wrote:
> I just installed cygwin 1.1.2.
> 
> When I type mount, I get:
> 
> bash-2.04$ mount
> Device              Directory           Type         Flags
> C:\cygwin\bin       /usr/bin            user         binmode
> C:\cygwin\lib       /usr/lib            user         binmode
> C:\cygwin           /                   user         binmode
> bash-2.04$
> 
> This is causing me problems, as when I install
> 
> http://atlas.spaceports.com/~cygwin/rpm/rpm-3.0.4-cygwin1.1.zip
> 
> from
> 
> http://cygwin.cjb.net/
> 
> It wants to install in /usr/bin and /usr/lib.  Since these are hidden by the
> above mounts, the rpm command cannot be found.
> 

This has all the markings of using a non-cygwin program to unzip the file. 
Non-cygwin programs do not and will never understand the Cygwin mount points.

> If I mv rpm.exe to /bin/, then rpm complains:
> 
> Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
> 
> Of course, I could mv /usr/lib/rpm/* to /lib/rpm/, but I'm thinking this may
> never end.  

> Plus I know that ssh is going to install in /usr/local/sbin which will be 
> hidden too.
> 

*No*, /usr/local/sbin has its mount point at /.

> My question is, why have the above mounts, and what is the best way to fix
> this problem now, and in the future?
> 

The why has been answered before, please see the archives.  The best way to fix
this problem is to not use Non-Cygwin programs to extract the archives.

Regards,

=====
---
   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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