File: sync.8

package info (click to toggle)
fileutils 3.16-5.4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,876 kB
  • ctags: 3,158
  • sloc: ansic: 32,792; yacc: 1,032; makefile: 281; sh: 277; sed: 93; perl: 33
file content (46 lines) | stat: -rw-r--r-- 1,511 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.TH SYNC 8 "September 23rd" "GNU" "Debian GNU/Linux manual"
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
sync \- Synchronize data on disk with memory
.SH SYNOPSIS
.B sync
.I "[options]" 
.SH "DESCRIPTION"
This manual page briefly documents the
.BR sync
command.
This manual page was written for the Debian GNU/Linux distribution
(but may be used by others), because the original program does not
have a manual page.
Instead, it has documentation in the GNU Info format; see below.
.PP
.B sync
writes any data buffered in memory out to disk.  This can include (but
is not limited to) modified superblocks, modified inodes, and delayed 
reads and writes.  This must be implemented by the kernel; The
.B sync
program does nothing but exercise the sync(2) system call.
.PP
The kernel keeps data in memory to avoid doing (relatively slow) disk
reads and writes.  This improves performance, but if the computer
crashes, data may be lost or the filesystem corrupted as a result.
.B sync
ensures everything in memory is written to disk.
.SH OPTIONS
.B sync
follows the usual GNU command line syntax, with long
options starting with two dashes (`-').
.TP
.B \-\-help
Show summary of options.
.TP
.B \-\-version
Show version of program.
.SH "SEE ALSO"
The original documentation is in
.IR "GNU File Utilities" ,
available via the Info system.
.SH AUTHOR
This manual page was written by Galen Hazelwood, 
for the Debian GNU/Linux system.