3 ms·
Didn't that not quite do what it says on the tin on some filesystems?
by brnt 4y ago
Didn't that not quite do what it says on the tin on some filesystems?
- eptcyka 4y agoIf the syscall meant to flush data to disk doesn't do that due to an implementation detail of a filesystem, I think there's nothing the user can reasonably do to ensure their data is safe.
- zabzonk 4y agoway back when, unix admins were recommended to enter "sync" twice. this wasn't anything wrong with the program itself, but the time it took to enter the second sync gave the os to finish flushing its buffers to the hard disk.