bug-coreutils
[Top][All Lists]
Advanced

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

Re: Correct semantics in rm -rf ?


From: Jim Meyering
Subject: Re: Correct semantics in rm -rf ?
Date: Mon, 31 Aug 2009 08:26:01 +0200

shailesh jain wrote:
...
>> POSIX allows readdir to work that way.
>>
> Sorry I do not follow your comment. What way POSIX allows readdir to work ?

As was demonstrated by that strace output:
returning an entry for a file that had been unlinked.

>> I already suggested that making this change might help you:
>>
>> -    CONSECUTIVE_READDIR_UNLINK_THRESHOLD = 10
>> +    CONSECUTIVE_READDIR_UNLINK_THRESHOLD = 1
>
> I did not try above option. I will try this later tonight.

You might want to try the new version of rm (fts-based)
for which I've posted patches recently.




reply via email to

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