delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/13/13:45:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 13 Nov 2000 13:39:29 -0500
Message-Id: <200011131839.NAA25535@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: earnie_boyd AT yahoo DOT com
CC: Karel DOT Sprenger AT Compaq DOT com, cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <20001113183758.12454.qmail@web110.yahoomail.com> (message from
Earnie Boyd on Mon, 13 Nov 2000 10:37:58 -0800 (PST))
Subject: Re: setup drops mount?
References: <20001113183758 DOT 12454 DOT qmail AT web110 DOT yahoomail DOT com>

> No, but it would know if it had to create a new root directory or
> even a new /etc/setup directory or even a new
> /etc/setup/installed.db file.  The point is, if this is an update
> then the mount points are already set and there is no need to
> unmount and remount.

No, I meant setup isn't a cygwin app - it puts things in
c:\cygwin\bin, NOT /bin.  If the user mounts d:\foo\bin to /bin, setup
will STILL put files in c:\cygwin\bin.

It must remove those mounts so that it knows that when it extracts the
files, they end up where the user will see them.

To solve this, setup would have to iterate through the mount table and
build a translation list for the untar logic in install.cc.

But, consider also that setup doesn't respect symlinks.  I've seen one
case where a user had /usr -> /cygdrive/d/usr and setup didn't like
it.

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