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