| Line | |
|---|
| 1 | .TH SYNC 8
|
|---|
| 2 | .SH NAME
|
|---|
| 3 | sync \- flush the cache to disk
|
|---|
| 4 | .SH SYNOPSIS
|
|---|
| 5 | \fBsync\fR
|
|---|
| 6 | .br
|
|---|
| 7 | .de FL
|
|---|
| 8 | .TP
|
|---|
| 9 | \\fB\\$1\\fR
|
|---|
| 10 | \\$2
|
|---|
| 11 | ..
|
|---|
| 12 | .de EX
|
|---|
| 13 | .TP 20
|
|---|
| 14 | \\fB\\$1\\fR
|
|---|
| 15 | # \\$2
|
|---|
| 16 | ..
|
|---|
| 17 | .SH EXAMPLES
|
|---|
| 18 | .EX "sync" "Write out all modified cache blocks"
|
|---|
| 19 | .SH DESCRIPTION
|
|---|
| 20 | .PP
|
|---|
| 21 | \s-1MINIX 3\s-1
|
|---|
| 22 | maintains a cache of recently used disk blocks.
|
|---|
| 23 | The
|
|---|
| 24 | .I sync
|
|---|
| 25 | command writes any modified cache blocks back to the disk.
|
|---|
| 26 | This is essential before stopping the system, and should be done before
|
|---|
| 27 | running any
|
|---|
| 28 | .I a.out
|
|---|
| 29 | program that might crash.
|
|---|
| 30 | .SH "SEE ALSO"
|
|---|
| 31 | .BR sync (2),
|
|---|
| 32 | .BR update (8),
|
|---|
| 33 | .BR shutdown (8).
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.