delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/30/12:39:58

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
Message-ID: <031701c207f8$20e41ea0$42a18c09@wdg.uk.ibm.com>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "John" <lists AT shell DOT reiteration DOT net>, <cygwin AT cygwin DOT com>
References: <20020530162238 DOT A7541 AT shell DOT reiteration DOT net> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020530113657 DOT 01e4b510 AT pop DOT ma DOT ultranet DOT com> <20020530170032 DOT B7541 AT shell DOT reiteration DOT net>
Subject: Re: registry question
Date: Thu, 30 May 2002 17:36:19 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

John <lists AT shell DOT reiteration DOT net> wrote:
> Is there a 'manual' way to setup that would not involve the setup tool?
> Are registry keys required for cygwin to work? or is there a workaround?

Yes - the mount table is stored in the registry and is required for cygwin to
operate correctly.

You could work around this by modifying cygwin.bat to install the keys run bash
and wait for it to finish, and remove the keys.
Messy, but it worked for me when I used to run cygwin on school computers.

At the time, I was using regedit, but you could probably come up with a better
solution with mount and umount.
Something like the _untested_ example below:

sh /etc/saved-mounts
bash --login -i
sh -c "mount -m > /etc/saved-mounts"
sh -c "umount -A"


I'm not sure if umount -A will completly clear the registry of cygwin traces.
Probably not, but nearly.

Max.




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

- Raw text -


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