File: update.8

package info (click to toggle)
update 2.11-4
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 72 kB
  • ctags: 19
  • sloc: ansic: 127; makefile: 60; sh: 9
file content (52 lines) | stat: -rw-r--r-- 1,569 bytes parent folder | download
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
47
48
49
50
51
52
.\" Copyright (c) 1996, 1999 Torsten Poulin <torsten@diku.dk>
.\" May be distributed under the GNU General Public License
.TH UPDATE 8 "May 24, 1999" "Linux 2.2" "Linux Programmer's Manual"
.SH NAME
update \- periodically flush filesystem buffers.
.SH SYNOPSIS
.B update [ options ]
.SH DESCRIPTION
The
.B update
daemon flushes the filesystem buffers at a regular interval. It has
two modes of operation. By default it will wake up every 5 seconds and
flush some dirty buffers. Newer kernels do not need a user space
update daemon.  This is automatically detected by
.B update
which will simply exit. The traditional behavior of waking up every
30 seconds to call
.BR sync (2)
can be forced with an option if it is deemed necessary.
.PP
The following options are accepted by
.BR update :
.TP
.B "\-S, \-\-use\-sync"
Use the traditional behavior of calling
.BR sync (2).
.TP
.BI "\-s, \-\-sync\-interval" " secs"
If using sync, wake up and call it every
.I secs
seconds. The default is every 30 seconds.
.TP
.BI "\-f, \-\-flush\-interval" " secs"
Unless using sync, wake up and flush some buffers every
.I secs
seconds. The default is every 5 seconds.
.TP
.B "\-\-help"
Print a usage message on standard output and exit successfully.
.TP
.B "\-\-version"
Print version information on standard output then exit successfully.
.PP
.B update
should be started as early as possible during the boot process. If it
is invoked by a non\-privileged user, it calls sync and exits.
.SH "SEE ALSO"
.BR init (8),
.BR sync (2),
.BR sync (8)
.SH AUTHOR
Torsten Poulin <torsten@diku.dk>