Why does cygwin 1.1.2 hide /usr/bin?

Peter Ring PRI@cddk.dk
Mon Jun 26 01:39:00 GMT 2000


As Earnie Boyd states, this is most likely because your unzip program
doesn't understand cygwin mount points. You could either:

  1) go with the file hierarchy currently set up by cygwin's setup
program, or

  2) go for an "identity" mount strategy that won't confuse non-cygwin
applications

There's a discussion about the mounting strategy starting at about this
message
http://sourceware.cygnus.com/ml/cygwin-developers/2000-02/msg00132.html
(on the cygwin-developers list).

I prefer to use identity mounts, 

Device              Directory           Type         Flags
I:                  /                   system       binmode
C:                  /c                  system       binmode
D:                  /d                  system       binmode

and I install cygwin distribution tarballs by untar'ing myself. Works OK
for
me.

kind regards
Peter Ring

-----Original Message-----
From: Ross Smith [ mailto:nospam2@pobox.com ]
Sent: Sunday, June 25, 2000 9:53 PM
To: cygwin@sourceware.cygnus.com
Subject: Why does cygwin 1.1.2 hide /usr/bin?


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.

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.

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

Thanks,

Ross


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list