Infinite Loop In "rm -fr" When Busy File Encountered

Chris January
Sat Apr 6 09:23:00 GMT 2002

> Greetings,
> I have encountered a problem in "rm" when used with the "-f" and "-r"
> options and a busy and hence unremovable file is encountered.
> When "rm -fr" encounters a busy and hence unremovable file, it goes into
> infinite loop consuming as much CPU time as it can get until it is
> terminated. The error is completely repeatable as long as the file remains
> busy by virtue of being open in another program.
> The file system is NTFS and the mount is binmode. The system is Windows
> 2000 Pro with SP2 and security patches installed.
> This is an up-to-date Cygwin installation that is exhibiting no other
> anomalous behavior.
> In reference to the attached "cygcheck -rs" output, this happened on "C:"
> "/cygdrive/c" (reached via a symlink "/c -> /cygdrive/c").
I tried exhaustively to reproduce this (cygwin1.dll v1.3.10), but failed.


Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list