David Wright <deb...@lionunicorn.co.uk> writes: > On Mon 09 Sep 2024 at 11:52:19 (+0300), Anssi Saari wrote: >> David Christensen <dpchr...@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).
Why do you think that? Which part of the fsync manpage explicitly covers fsync's effect on device files? Share share, it's fair.