News for hackers. Stuff that matters.
Re:POSIX v. reality: A position on O_PONIES by nh2 on Friday November 24, 2023 @12:16AM (#38400839)
No. If you don't call fsync(), there's no guarantee that your data will _ever_ be written to disk.

Some file systems with some settings may write data to hardware after some delay or periodically, but others may not.

fsync() "performs" e.g. an ATA FLUSH command on the underlying hardware.

There are no comments on this comment yet.