Portable Cygwin on a CD

Sam Edge sam.edgeZZZ@lineone.net
Mon May 5 22:45:00 GMT 2003


Ronald Landheer-Cieslak <ronald@landheer.com> wrote in
<Pine.LNX.4.44.0305051634590.843-100000@localhost.localdomain>
in gmane.os.cygwin on Mon, 5 May 2003 17:01:16 +0200 (CEST):

> I think it would be a very good idea to remove the mount table once you're 
> done (and perhaps put the old one back if there was one). If the autorun 
> program runs the bash or rxvt, it should be easy enough to clean up once 
> it's done..

I thought about this. The "autorun.exe" program could wait for the
rxvt.exe to terminate and then unmount everything.

But what if you'd started up some detached Cygwin processes from
within the session? Unmounting everything might make them choke.

Autorun.exe could get /really/ clever hooking into Windows and sit in
the taskbar until it spots when the last instance of cygwin1.dll is
unloaded before unmounting everything, unlocking the CD-ROM eject
mechanism and exiting. I'm not going to write it for you, though. ;-)

-- 
Sam Edge

--
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