Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes
On Mon 09 Sep 2024 at 11:52:19 (+0300), Anssi Saari wrote:
> David Christensen <dpchrist@holgerdanske.com> writes:
>
> > 2. sync(1) is unnecessary.
>
> Does it even do anything wrt device files? sync(2) says "sync() causes
> all pending modifications to filesystem metadata and cached file data to
> be written to the underlying filesystems."
I think you also need to read the other manpage, fsync(2).
Cheers,
David.
Reply to: