Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.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@envy.delorie.com using -f
From: DJ Delorie <dj@delorie.com>
To: earnie_boyd@yahoo.com
CC: Karel.Sprenger@Compaq.com, cygwin@sourceware.cygnus.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.12454.qmail@web110.yahoomail.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@sourceware.cygnus.com

