Re: XFS: how to NOT null files on fsck?

Bernd Eckenfels
2004-07-12T22:29:54Z

In article <20040712195956.GA14105@taniwha.stupidest.org> you wrote:
> Data sits in the page-cache though, and if you loose power before
> that's flushed you will loose data. This is why fsync is needed to be
> sure.

Yes right, I was confusing that with networked filesystems with
commit-on-close semantics.

Greetings
Bernd

BTW:
I was stracing java, and it is enough to do "fos.getFD().sync();
fos.close()" on FileOutputStrea to get a fsync(fd) followed by close(fd).
--
eckes privat - http://www.eckes.org/
Project Freefire - http://www.freefire.org/