If a directory has more as 200 entries the call "rm -r testdir" fails with:
rm: cannot remove `testdir/file-000.tmp': No such file or directory
rm: cannot remove `testdir/file-001.tmp': No such file or directory
rm: cannot remove `testdir/file-002.tmp': No such file or directory
rm: cannot remove `testdir/file-200.tmp': No such file or directory
A "rm -rf testdir" on such directories goes in an endless loop with full cpu load. The rm command can simple break with "CTRL-C".
A "cd testdir; rm *" works without problems.
After the rm all files are removed. So, the rm is working, but not the "-r" option.
All coLinux versions have this problem (tested 0.7.2, 0.7.3, 0.8.0).
This problem I have only under Debian 4.0 Etch.
On Debian 3.0 (Wooody), all works without problems.
The script creates 201 files (from 000 to 200). If there are only 200 or less files in the directory, than it works. You can test it by change the 200 in the script to any lower value, for example 199, 100 or so.
# create a list of files
rm -rf testdir
while test $COUNT -le 200
test $NAME -le 99 && NAME=0$NAME
test $NAME -le 9 && NAME=0$NAME
rm -r testdir