delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/25/19:06:25

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: <20030425230615.93827.qmail@web14811.mail.yahoo.com>
Date: Fri, 25 Apr 2003 16:06:15 -0700 (PDT)
From: Qwer Zxcv <partner4progress AT yahoo DOT com>
Subject: rollback procedure, was: what determines cygwin path?
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.44.0304251839200.10996-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

Qwer Zxcv wrote:
>>>> So what I'd like to know is, how is cygwin's path determined?
>>>> (Apparently not entirely by the windows path, at least not by
>>>> default.) And how do I fix it?

Max Bowsher wrote:
>>> Windows + /etc/profile + any user customisation.

Qwer Zxcv wrote:
>> What I don't know is, in

>> > PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

>> * Where are

>>   /usr/local/bin:/usr/bin:/bin

>>   set?

Igor Pechtchanski wrote:
> "man mount"

Doesn't help much when yr cygwin's down, but, find another box and DOH!
I forgot the mount table was in the REGISTRY ! So I fix that, and now
my old cygwin is working again :-)

Despite the apparent deprecation of this line of inquiry, I'd still
like to document rollback for those who are inclined to "install
defensively." Does the following rollback procedure sound more-or-less
correct/complete? (Note that it assumes that one's new cygwin is not
working.)

0 Change windows path to point (only) to the old version. Cygwin
  references should precede windows references.

1 Use 'regedit' to ensure that entries in 

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

  notably

/usr/bin
/usr/lib
/usr/X11R6/lib/X11/fonts

  point (only) to the old version.

2 Find or recreate a shortcut to one's old bash-running batchfile.

3 Run bash, check for weirdness.

4 'cygcheck -svr', check for weirdness.


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

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