O'Reilly logo
  • Ivan Petrov thinks this is interesting:

#include <unistd.h>

int fdatasync (int fd);

This system call does the same thing as fsync( ), except that it only flushes data. The call does not guarantee that metadata is synchronized to disk, and is therefore potentially

From

Cover of Linux System Programming

Note

flush data only