minix/man/man8/sync.8
2012-03-31 23:47:03 +02:00

35 lines
553 B
Groff

.TH SYNC 8
.SH NAME
sync \- flush the cache to disk
.SH SYNOPSIS
\fBsync\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH EXAMPLES
.TP 20
.B sync
# Write out all modified cache blocks
.SH DESCRIPTION
.PP
\s-1MINIX 3\s-1
maintains a cache of recently used disk blocks.
The
.I sync
command writes any modified cache blocks back to the disk.
This is essential before stopping the system, and should be done before
running any
.I a.out
program that might crash.
.SH "SEE ALSO"
.BR sync (2),
.BR update (8),
.BR shutdown (8).