Subject: Re: Defragmenting a NetBSD drive
To: Curt Sampson <cjs@cynic.net>
From: Guenther Grau <Guenther.Grau@bosch.com>
List: netbsd-ports
Date: 09/16/1999 18:49:27
Curt Sampson wrote:
> 
> On Thu, 16 Sep 1999, Guenther Grau wrote:
> 
> > Ok, you are right. All the processes doing a opendir()/readdir()
> > need to fail when the directory changes behind their backs.
> > So a real solution (I wonder what I forgot now :-) would be
> > to return E_DIRWASCHANGED on readdir() in this case....
> 
> Spending programmer time to save computer time is often a bad idea.
> In this case I think it'd be a really bad idea; we make a lot of
> programmers do more work, and this situation continues into the
> future, all to save a few blocks on a disk?

Hey... I was just thinking out loud. I wasn't actually proposing
it. I just wanted to discuss when/why/how it would/could (not) be
done... I already agreed in a previous mail that all this is
most likely not worth the trouble.

  Guenther