This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Need name and functionality suggestions for a new utility
- To: cygwin-developers at cygwin dot com
- Subject: Re: Need name and functionality suggestions for a new utility
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 24 Oct 2001 08:10:23 -0400
- References: <20011024005137.A29851@redhat.com> <007f01c15c7b$84f86a50$65f504c0@sos>
- Reply-To: CD List <Cygwin-Developers at Cygwin dot Com>
Let's see if I understand the scenario correctly.
1) you want one set of executables which is shared between two isolated
instances of cygwin1.dll.
2) you need differing mount tables.
Ok, for item 1 you simply
* mkdir /dll-1.3.3
* mkdir /dll-test
* move /bin/cygwin1.dll to /dll-1.3.3
* install your test cygwin1.dll to /dll-test
* cp /etc/profile /etc/profile-rls
* cp /etc/profile /etc/profile-test
* add the /dll-1.3.3 to the PATH settings in the /etc/profile-rls.
* add the /dll-test to the PATH settings in the /etc/profile-test.
* cp /cygwin.bat /cygwin-rls.bat
* cp /cygwin.bat /cygwin-test.bat
* add a copy of /etc/profile-rls to /etc/profile in the cygwin-rls.bat
* add a copy of /etc/profile-test to /etc/profile in the cygwin-test.bat
* issue - executing cygwin binaries outside of a Cygwin enabled shell.
* resolution - set the PATH manually before executing binaries.
This gives the isolation you need for the current releases of Cygwin
without fancy manipulations.
Given the simplicity of the isolation above, are differing mount tables
necessary?
Am I off base here? Am I misunderstanding what needs to happen?
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com