This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: setup drops mount?



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]