Comment Comment by nh2 > fsync doesn’t just sync the file’s data, it syncs every piece of metadata the file depends on: ... directory entryFamously not, as the man page says.It is also said later in the article:> POSIX strictly requires a parent-directory fsync to make a newly created file’s existence durable.So I'm not sure why the dirent sync is claimed earlier. parent nh2 5 months ago
Famously not, as the man page says.
It is also said later in the article:
> POSIX strictly requires a parent-directory fsync to make a newly created file’s existence durable.
So I'm not sure why the dirent sync is claimed earlier.