minix/man/man8/sync.8

34 lines
549 B
Groff
Raw Normal View History

2005-05-02 15:01:42 +02:00
.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
.EX "sync" "Write out all modified cache blocks"
.SH DESCRIPTION
.PP
\s-1MINIX 3\s-1
2005-05-02 15:01:42 +02:00
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).