7 messages in net.sourceforge.lists.courier-users[courier-users] Re: Folder deletion bug?
FromSent OnAttachments
Ben BeuchlerApr 10, 2001 8:32 am 
Sam VarshavchikApr 10, 2001 3:58 pm 
Ben BeuchlerApr 10, 2001 7:53 pm 
Ben BeuchlerApr 10, 2001 8:19 pm 
Sam VarshavchikApr 10, 2001 8:53 pm 
Ben BeuchlerApr 10, 2001 10:27 pm 
Sam VarshavchikApr 10, 2001 10:57 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Folder deletion bug?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Apr 10, 2001 10:57:15 pm
List:net.sourceforge.lists.courier-users

Ben Beuchler writes:

On Wed, Apr 11, 2001 at 03:54:02AM +0000, Sam Varshavchik wrote:

Doing a web search brings up a couple of interesting results:

http://linux-xfs.sgi.com/projects/xfs/indexed/msg00049.html

Subject: Re: NFS readdir seems to be broken

...

... I have my suspicions about the readdir interface at the moment, I have seen rm -r -f miss a file...

[ Sounds similar ]

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.