tail head cat sleep
QR code linking to this page

Manual Pages  — FSYNC

NAME

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

CONTENTS

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 .

FSYNC (1) January 25, 2005

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

An ASCII character walks into a bar and orders a double. "Having a bad day?" asks the barman. "Yeah, I have a parity error," replies the ASCII character. The barman says, "Yeah, I thought you looked a bit off."