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

H. Peter Anvin
2004-07-12T20:36:08Z

Chris Wedgwood wrote:
> On Mon, Jul 12, 2004 at 05:56:11PM +0000, H. Peter Anvin wrote:
>
>
>>No it won't, since if you're using file descriptors there *is* no C
>>library buffer. fclose() will, though, and then call close().
>
>
> 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.
>

Correct.

-hpa