[patch] setup.exe changes for Redownload/Reinstall Current version or Sources only - Part 2

Brian Keener bkeener@thesoftwaresource.com
Fri May 11 12:45:00 GMT 2001

DJ Delorie wrote:
> I don't think the user should be limited to only one cygwin install
> per machine.

Valid point - now back to my original question about mount points - If I 
can have multiple installs of cygwin and I change the root directory 
should we be doing anything with the files that currently exist within 
the original root directory and or that cygwin versions mount points - I 
don't think so, because now we don't know if they are creating a new 
install of cygwin or moving the old one.

All we should do is look at the root directory and our mount points 
during setup and if the root directory appears to contain a valid cygwin 
install then we simply use the mount points for our install and if a 
directory we need does not exist as a mount point or real directory we 
create it.  If the root directory specified does not appear to contain a 
valid cygwin install then we install as a new install and create the 
mount points for that new install just like we normally would.

More information about the Cygwin-patches mailing list