|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)sync.2 6.2 (Berkeley) 6/30/85
6: .\"
7: .TH SYNC 2 "June 30, 1985"
8: .UC 4
9: .SH NAME
10: sync \- update super-block
11: .SH SYNOPSIS
12: .B sync()
13: .SH DESCRIPTION
14: .I Sync
15: causes all information in core
16: memory that should be on disk to be written out.
17: This includes modified super blocks,
18: modified i-nodes, and delayed block I/O.
19: .PP
20: .I Sync
21: should be used by programs that examine a file system,
22: for example
23: .I "fsck, df,"
24: etc.
25: .I Sync
26: is mandatory before a boot.
27: .SH "SEE ALSO"
28: fsync(2), sync(8), update(8)
29: .SH BUGS
30: The writing, although scheduled, is not necessarily
31: complete upon return from
32: .IR sync .
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.