> You can only fsync given a file descriptor, but I think writing an fsync binary that opens the file read-only, fsync on the descriptor, and close the file, should work.
Wouldn't that only guarantee the updates through that descriptor (none) are synced?
@Michel Salim
> You can only fsync given a file descriptor, but I think writing an fsync binary that opens the file read-only, fsync on the descriptor, and close the file, should work.
Wouldn't that only guarantee the updates through that descriptor (none) are synced?