delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/17/14:36:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <478FAE32.9020902@stats.uwo.ca>
Date: Thu, 17 Jan 2008 14:36:18 -0500
From: Duncan Murdoch <murdoch AT stats DOT uwo DOT ca>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rm fails with bad mount information
References: <478F769C DOT 8070501 AT stats DOT uwo DOT ca> <20080117155917 DOT GB13657 AT calimero DOT vinschen DOT de> <478FA34C DOT 2070008 AT stats DOT uwo DOT ca> <478FA683 DOT 2010000 AT sbcglobal DOT net>
In-Reply-To: <478FA683.2010000@sbcglobal.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 1/17/2008 2:03 PM, Greg Chicares wrote:
> On 2008-01-17 18:49Z, Duncan Murdoch wrote:
>> On 1/17/2008 10:59 AM, Corinna Vinschen wrote:
>>> On Jan 17 10:39, Duncan Murdoch wrote:
>>>>
>>>> Users who install Cygwin then uninstall it (perhaps improperly, I'm not 
>>>> sure) can be left with the registry key
>>>>
>>>> [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/]
>>>>
>>>> set with a non-existent path as the "native" string value (which is 
>>>> normally be something like "c:\\cygwin").  When that happens, "rm -rf 
>>>> subdir" fails with this message:
> 
> Does it work okay, with your customized Cygwin distro, if they
> remove that registry key? If so, then an easy resolution might
> be to advise your users who uninstall Cygwin to follow step 6
> of FAQ 2.17:
> 
> http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all
> 
> to remove the keys, even if in other use-cases that step may
> seem unnecessary.

rm is fine if we just remove the "mounts v2" key.  We haven't 
experimented with more drastic surgery.

Duncan Murdoch

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