X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 24 Apr 2008 11:31:34 -0600 From: Tom Hall To: TomL Cc: cygwin AT cygwin DOT com Subject: Re: ls / rm etc return "no such file or directory" Message-ID: <20080424173120.GA7880@LTC-XPL-330> Reply-To: tlhall AT keepandbeararms DOT com References: <12080147 DOT post AT talk DOT nabble DOT com> <46BB7A46 DOT 5030601 AT etr-usa DOT com> <12080525 DOT post AT talk DOT nabble DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12080525.post@talk.nabble.com> User-Agent: Mutt/1.4.2.2i Operating-System: CYGWIN_NT-5.1 LTC-XPL-330 1.5.25(0.156/4/2) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Thu, Aug 09, 2007 at 01:50:59PM -0700, TomL wrote: > > Based on the idea that its a file locking problem, I ran "handle" from > sysinternals, and it showed up as an open filehandle in an explorer.exe > process. I terminated the process, and all is well. > > I don't understand how it got into that state yet, but I'm closer. Thanks > for the hints. You're a lifesaver ! I get these a lot - sometimes several times a day with vim swap files. It happens when I run vim over an SSH or telnet session and the session crashes. After that vim gives me its warning whenever I try to edit that file until I delete swap file, which I can't. The only advice I could find was to reboot (which is pretty good advice for running Windows) which gets annoying on bad network days. Now I can run 'handle', then 'ps', cross ref the PID from cygwin to windows, and kill vim - much preferable to a reboot. Thanks. Tom -- 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/