This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: setup drops mount?
- To: earnie_boyd at yahoo dot com
- Subject: Re: setup drops mount?
- From: DJ Delorie <dj at delorie dot com>
- Date: Mon, 13 Nov 2000 13:39:29 -0500
- CC: Karel dot Sprenger at Compaq dot com, cygwin at sourceware dot cygnus dot com
- 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