Multiple cygwin installs

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Mon Mar 27 04:53:00 GMT 2006


Brian Hawkins wrote:
> Just FYI.  I found a pretty good way to manage multiple cygwin installs.
> 
> I use the windows subst command.
> 
> It works like this.  Create a directory c:\cyginstalls.  Then beneath it 
> create a directory for each cygwin install you want like cygwin1, 
> cygwin2 whatever.  Then use the subst command like so:
> subst x: c:\cyginstalls\cygwin1
> 
> Now install cygwin to x:\.  Change the subst to c:\cyginstalls\cygwin2 
> and install again to x:\.
> 
> To choose what cygwin you use just subst x to the appropriate folder.  
> Kind of a poor mans symbolic link.

Why are you commandeering one thread to inject another?  If you have
something you want to say and it has nothing to do with any previous
thread, just start a new one by sending email to the list.

The flaw that I see with your approach is that you're not taking into
account any existing mounts in the mount table.  Without resetting the
mount table in between each installation, you will very likely end up
with subsequent installations overwriting the first one.

FWIW, if you want something similar to symbolic links for directories and
you're running W2K or above with NTFS, you can use reparse points.  See the
"junction" utility from www.sysinternal.com if you're interested in this.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list