This is the mail archive of the
mailing list for the Cygwin project.
Re: Duplicate CygWin
- From: Ronald Landheer-Cieslak <ronald at landheer dot com>
- To: John Vincent <jpv50 at hotmail dot com>
- Cc: B dot Clewett at roadrunner dot uk dot com, <cygwin at cygwin dot com>
- Date: Tue, 18 Feb 2003 16:59:30 +0100 (CET)
- Subject: Re: Duplicate CygWin
As first post on this subject (but with a bogus subject line) started
with: "I need to have two copies of CygWin running. Really I do!", the
use of chroot never came to my mind, but you're right: one
$ chroot /full/path/to/new/tree
should do it :)
He'll have to make sure Cygwin1.dll is always found in the PATH, though.
This renders it impossible from the Bash command-line, because PATH is
mangled at start-up (of Bash), but from cmd, there is no problem (I just
If this isn't what he's trying to do, I'm sure he'll get back to the list
with his forking experiments :)
On Tue, 18 Feb 2003, John Vincent wrote:
> Hi there,
> I may be missing something, but from you're original email
> it looks to me like you don't need another cygwin1.dll at all!
> I think all you need is a script with a few calls to umount and
> mount to fix your file mount points and a call to chroot to change
> the file system root, plus some changes to the PATH environment
> Try "man chroot", "man umount" and "man mount" to see how these
> commands work. Then write a little shell script wrapper to run
> your application after changing the mount points, file system
> root, and environment appropriately.
> I hope this suggestion helps.
> /John Vincent.
> >(snipped from original posting)
> >Noting:- It's not a cut down version of CygWin*.DLL I need,
> >but a cut down version of the file system, to just a couple
> >of dozen files in /bin, /tmp, /usr and /etc, forming a 'mini'
> >UNIX for a specific application.
> MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html