Ben Beuchler writes:
On Wed, Apr 11, 2001 at 03:54:02AM +0000, Sam Varshavchik wrote:
I may have misunderstood the message, but it appeared to me that the
problem they were discussing was specific to xfs exports under Linux.
They're talking about exporting XFS over NFS.
I'm wondering whether reading the directory and simultaneously
deleting files from the same directory causes NFS to lose its mind.
Very possible. NFS is weird.
Try populating a directory with a couple of thousand dummy files, then
do rm -rf on it and see what happens.
That worked just fine. I created a Maildir with 4635 messages in it and
'rm -rf' worked perfectly. It also may be worth noting that if I change
to a copy of that mailbox with 4635 messages in it, I can tag and delete
the messages just fine. Then, of course, I can delete the mailbox
without any problems.
Try trussing rm -rf. I'm wondering whether rm reads the entire directory
first, before deleting its contents. I'm not yet ready to give up on this
one. rm -rf is doing something differently.