 |
Index for Section 8 |
|
 |
Alphabetical listing for U |
|
update(8)
NAME
update - Periodically updates the superblock
SYNOPSIS
/sbin/update
DESCRIPTION
The update command executes a sync system call every 30 seconds. This
ensures that the file system is up to date in the event of a system crash.
This command is provided as a statically-linked executable in /sbin.
The cron program also provides the functionality of the update command.
The update shell script typically provides the following functionality:
#!/bin/sh
while true
do
sync
sleep 30
done &
exit 0
FILES
/sbin/update
Specifies the command path
RELATED INFORMATION
Commands: cron(8), init(8), sync(8)
Functions: sync(2)