Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
FSYNC(1)		FreeBSD	General	Commands Manual		      FSYNC(1)

NAME
     fsync -- synchronize a file's in-core state with that on disk

SYNOPSIS
     fsync file	...

DESCRIPTION
     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.

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

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

HISTORY
     The fsync command first appeared in FreeBSD 4.3.

FreeBSD	9.2		       January 25, 2005			   FreeBSD 9.2

NAME | SYNOPSIS | DESCRIPTION | EXIT STATUS | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<http://www.freebsd.org/cgi/man.cgi?query=fsync&manpath=FreeBSD+10.0-RELEASE>

home | help