Hi Jim,

The Darwin HFS+ bug is even reproducible on Linux, on NFS mounts from a
Darwin 10.3.9 machine. Here is that same directory, of which Darwin's
readdir() bug occurred after 178 removals. Here it occurs already after
13 removals on average:

$ ll charmaps | wc -l
195
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
182
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
154
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
142
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
129
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
100
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
86
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
74
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
50
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
38
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
25
$ rm -r charmaps
rm: cannot remove directory `charmaps': Directory not empty
$ ll charmaps | wc -l
12
$ rm -r charmaps
$ uname -a
Linux linuix 2.4.21-99-default #1 Wed Sep 24 13:30:51 UTC 2003 i686 GNU/Linux
$ df -T .
ibook:/Volumes/ExtData
               nfs    97549420  53621744  43927676  55% 
/gfs/ibook/Volumes/ExtData


This means one has to enable the workaround with 8% speed penalty on all
systems, not just Darwin...

Bruno


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to