Re: [RFC] Improved inode number allocation for HTree

From: Helge Hafting (helgehaf@aitel.hist.no)
Date: Tue Mar 11 2003 - 08:00:02 EST


Hans Reiser wrote:
> Let's make noatime the default for VFS.
>
> Daniel Phillips wrote:
[...]
>> If I were able to design Unix over again, I'd state that if you don't
>> lock a directory before traversing it then it's your own fault if
>> somebody changes it under you, and I would have provided an interface
>> to inform you about your bad luck. Strictly wishful thinking.
>> (There, it feels better now.)

I'm happy nobody _can_ lock a directory like that. Think of it - unable
to create or delete files while some slow-moving program is traversing
the directory? Ouch. Plenty of options for DOS attacks too.
And how to do "rm *.bak" if rm locks the dir for traversal?

Helge Hafting

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:25 EST