Re: Ext2, fsync() and MTA's?

Theodore Tso (tytso@valinux.com)
Mon, 21 May 2001 18:04:05 -0400


On Mon, May 21, 2001 at 06:47:58PM +0100, Stephen C. Tweedie wrote:
>
> No --- the old BSDs were safe because their directory operations were
> fully synchronous so they *never* needed to be sync'ed manually.
> According to SuS, an application relying on sync directory updates is
> buggy, because SuS simply makes no such guarantees.
>
> Just set chattr +S on the spool dir. That's what the flag is for.
> The biggest problem with that is that it propagates to subdirectories
> and files --- would a version of the flag which applied only to
> directories be a help here?
>

That's probably the right thing to add.

- Ted
-
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/