delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/05/18:45:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Sam Edge <sam DOT edgeZZZ AT lineone DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Portable Cygwin on a CD
Date: Mon, 05 May 2003 23:45:33 +0100
Organization: .
Reply-To: cygwin AT cygwin DOT com
Message-ID: <rtpdbvo73bvfnmqph8as57t6bi20fl5ikg@4ax.com>
References: <5iscbv435f123kdjetfe471ffvohcn7204 AT 4ax DOT com> <Pine DOT LNX DOT 4 DOT 44 DOT 0305051634590 DOT 843-100000 AT localhost DOT localdomain>
In-Reply-To: <Pine.LNX.4.44.0305051634590.843-100000@localhost.localdomain>
MIME-Version: 1.0
X-Posting-Agent: Hamster/2.0.0.1
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h45MjxP00971

Ronald Landheer-Cieslak <ronald AT landheer DOT com> wrote in
<Pine DOT LNX DOT 4 DOT 44 DOT 0305051634590 DOT 843-100000 AT localhost DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019