X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: XDwswj8VM1lfx6Odw3IRZ1Iny8IEV_BQ4qqKYwGnpFfrNNoBBnZDkliXlYeZMcqOr0EsD0UEyb6jLXKVBZ.7bUHkiw-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <478FA683.2010000@sbcglobal.net> Date: Thu, 17 Jan 2008 19:03:31 +0000 From: Greg Chicares 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> In-Reply-To: <478FA34C.2070008@stats.uwo.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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. -- 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/