Research V7 development
[unix-history] / usr / man / man8 / update.8
CommitLineData
aa26a18b
KT
1.TH UPDATE 8
2.SH NAME
3update \- periodically update the super block
4.SH SYNOPSIS
5.B /etc/update
6.SH DESCRIPTION
7.I Update
8is a program that executes
9the
10.IR sync (2)
11primitive every 30 seconds.
12This insures that the file system
13is fairly up to date in case of a crash.
14This command should not be executed directly,
15but should be executed out of the
16initialization shell command file.
17.SH "SEE ALSO"
18sync(2), sync(1), init(8)
19.SH BUGS
20With
21.I update
22running,
23if the CPU is
24halted just as
25the
26.I sync
27is executed,
28a file system can be damaged.
29This is partially due to DEC hardware that
30writes zeros when NPR requests fail.
31A fix would be to have
32.IR sync (1)
33temporarily increment the system time by at
34least 30 seconds to trigger the execution of
35.I update.
36This would give 30 seconds grace to halt the CPU.