Manfred Spraul <manfred(at)colorfullife(dot)com> writes:
> That means
> open();
> write();
> sync();
>
> could succeed, but the data is not stored on disk, correct?
That would be true on any filesystem. Unless you throw an fsync() call in.
With sync replaced by fsync then any filesystem ought to guarantee the data
has reached disk by the time fsync returns. I think this is even true of NFS
or AFS, though I wouldn't depend on it for my own data.
--
greg