Multiple Cygwin coexist

By: | Comments: 7 Comments

Posted in categories: Computer Tips

in one cygwin, do

mount -m > c:/somewhere/mount-cygwin1

in another cygwin, do

mount -m >c:/somewhere/mount-cygwin2

then edit their cygwin.bat, add lines

umount -A
sh C:/somewhere/mount-cygwin1

in the first cygwin.bat after @echo off line

then edit the second cygwin.bat, add lines

umount -A
sh C:/somewhere/mount-cygwin2

in the cygwin.bat after @echo off line

now two versions of cygwin can co-exist, althouth they still can not
share utilities.

Remember to replace “somewhere” to a path that exists on your computer.

7 Comments

Leave a Reply