bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU rm now works around Darwin 0.7.9 (MaxOS X 10.3.9) readdir bug


From: Bruno Haible
Subject: Re: GNU rm now works around Darwin 0.7.9 (MaxOS X 10.3.9) readdir bug
Date: Fri, 29 Sep 2006 14:57:57 +0200
User-agent: KMail/1.9.1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]