2015-01-30 20:56:25 +00:00
|
|
|
.Dd January 30, 2015
|
|
|
|
.Dt SYNC 1 sbase\-VERSION
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm sync
|
|
|
|
.Nd flush disk cache
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2013-07-20 05:27:42 +00:00
|
|
|
invokes
|
2015-01-30 20:56:25 +00:00
|
|
|
.Xr sync 2
|
2013-07-20 05:27:42 +00:00
|
|
|
to flush all unwritten changes to the disk. This is
|
2013-05-30 19:29:56 +00:00
|
|
|
usually done before shutting down, rebooting or halting.
|
2015-01-30 20:56:25 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr fsync 2 ,
|
|
|
|
.Xr sync 2
|