man.bsd.lv manual page server

Manual Page Search Parameters

FSYNC(1) General Commands Manual FSYNC(1)

fsyncsynchronize a file's in-core state with that on disk

fsync file ...

The fsync utility causes all the modified data and meta-data of all the files named on the command line to be written to a permanent storage device.

The fsync utility uses the fsync(2) function call.

If an error occurs, the fsync utility proceeds to the next file, and exits >0. Otherwise, it exits 0.

fsync(2), sync(2), syncer(4), halt(8), reboot(8)

The fsync command first appeared in FreeBSD 4.3.

January 25, 2005 FreeBSD-12.0