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

Bernd Eckenfels
2004-07-10T21:24:56Z

In article <20040710184357.GA5014@taniwha.stupidest.org> you wrote:
> No, that's not the case. Normally when files are written the data
> isn't not flushed immediately, it sits in memory (the page-cache) for
> some (usually) small amount of time.

Does that mean, that closing a tempfile and then renaming the file is not
a reliable way to tell, that the data is persited? I usually use a atomic
rename to have a point from which on I can tell if the data is complete
and persisted.

I thought close() has fsync() semantics?

Greetings
Bernd
--
eckes privat - http://www.eckes.org/
Project Freefire - http://www.freefire.org/