delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/27/01:32:37

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
From: "Ross Smith" <ross DOT smith AT pobox DOT com>
To: "Dave Arnold" <avr_fan AT mailandnews DOT com>, <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Why does cygwin 1.1.2 hide /usr/bin?
Date: Mon, 26 Jun 2000 22:31:31 -0700
Message-ID: <NDBBJINIMKJKPGEBBJLKCEIICGAA.ross.smith@pobox.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
In-Reply-To: <009c01bfdfcb$4222df40$3e241004@darnold-home.sybase.com>
Importance: Normal

> -----Original Message-----
> From: Dave Arnold [mailto:avr_fan AT mailandnews DOT com]
>
> When you untar a package yourself, you mean you're
> untarring updated files over an existing installation right?

Well, I'm untarring new files into existing, but empty directories, both /usr/bin and /usr/lib are empty in the current cygwin 1.1.2
setup as they are "masked" by /bin and /lib.

> Does the directory structure of the tar files overlay
> correctly into the cygnus root directory?
> or do we have to do some manual moving and
> copying of files to the correct location?

To get rpm to work, I simply moved the files from /usr/bin to /bin.  I also moved the files in /usr/lib to /lib.

Then all I had to do was rpm --initdb, and all is well.

> Just curious, in case I decide to try this someday.

I hope that helps.  Thanks Earnie and Peter, for all your help!

-Ross

> -----Original Message-----
> From: Peter Ring <PRI AT cddk DOT dk>
>
> >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 AT pobox DOT com]
> >
> >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 AT sourceware DOT cygnus DOT com

- Raw text -


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