This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Why does cygwin 1.1.2 hide /usr/bin?


--- Ross Smith <nospam2@pobox.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@yahoo.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@sourceware.cygnus.com


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