This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: prelim FAQ update: Installation Instructions
- To: earnie_boyd at yahoo dot com
- Subject: Re: prelim FAQ update: Installation Instructions
- From: DJ Delorie <dj at delorie dot com>
- Date: Thu, 1 Jun 2000 11:56:22 -0400
- CC: cygwin-developers at sourceware dot cygnus dot com
- References: <20000601123822.6434.qmail@web109.yahoomail.com>
> Nice changes DJ. What happens if a Cygwin process is active when
> setup is executed?
Nothing, I hope. I got rid of all the embedded .exe's, leaving only
cygwin1.dll. Setup saves that as "setup-cygwin1.dll" and uses
LoadLibrary to load it, after setting up the environment so that the
DLL goes into "testsuite mode". That will prevent it from using the
shared memory area. It then hooks all the cygwin functions it needs
(mount, getmntent, etc) and calls them directly. Since the DLL isn't
sharing memory, the new mounts won't even effect running programs
until all of them exit and restart, which will load the new mount
table into memory.
Also, since tar is now built-in, I can defer messing with the mount
table until the very last thing, so if anything goes wrong with the
install your old mount table is still there.