This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ls / rm etc return "no such file or directory"
- From: Tom Hall <tlhall at keepandbeararms dot com>
- To: TomL <toml at bitstatement dot net>
- Cc: cygwin at cygwin dot com
- Date: Thu, 24 Apr 2008 11:31:34 -0600
- Subject: Re: ls / rm etc return "no such file or directory"
- Operating-system: CYGWIN_NT-5.1 LTC-XPL-330 1.5.25(0.156/4/2)
- References: <12080147.post@talk.nabble.com> <46BB7A46.5030601@etr-usa.com> <12080525.post@talk.nabble.com>
- Reply-to: tlhall at keepandbeararms 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/