| 1 | .TH SYNC 2 |
| 2 | .SH NAME |
| 3 | sync \- update super-block |
| 4 | .SH SYNOPSIS |
| 5 | .B sync( ) |
| 6 | .SH DESCRIPTION |
| 7 | .I Sync |
| 8 | causes all information in core |
| 9 | memory that should be on disk to be written out. |
| 10 | This includes modified super blocks, |
| 11 | modified i-nodes, and delayed block I/O. |
| 12 | .PP |
| 13 | It should be used by programs which examine a file system, |
| 14 | for example |
| 15 | .I "icheck, df," |
| 16 | etc. |
| 17 | It is mandatory before a boot. |
| 18 | .SH "SEE ALSO" |
| 19 | sync(1), update(8) |
| 20 | .SH BUGS |
| 21 | The writing, although scheduled, is not necessarily |
| 22 | complete upon return from |
| 23 | .IR sync . |
| 24 | .SH "ASSEMBLER (PDP-11)" |
| 25 | (sync = 36.) |
| 26 | .br |
| 27 | .B sys sync |