sync8
Force completion of pending disk writes (flush cache)
Usage
sync
Overview
The sync utility can be called to ensure that all disk writes have been completed before the processor is halted in a way not suitably done by reboot(8) or halt(8). Generally, it is preferable to use reboot(8) or halt(8) to shut down the system, as they may perform additional actions such as resynchronizing the hardware clock and flushing internal caches before performing a final sync.
The sync utility utilizes the sync(2) function call.
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 51 times.
- 2.0.5
- 2.1.5–2.1.7.1
- 2.2.2
- 2.2.5–2.2.6
- 2.2.7–2.2.8
- 2.2.9
- 3.0–3.2
- 3.3–3.5.1
- 4.0
- 4.1–4.2
- 4.3
- 4.4–4.6.2
- 4.7–4.11
- 5.0–5.2.1
- 5.3–5.5
- 6.0–6.3
- 6.4
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 9.0
- 9.1
- 9.2
- 9.3
- 10.0
- 10.1
- 10.2
- 10.3
- 10.4
- 11.0
- 11.1
- 11.2
- 11.3
- 11.4
- 12.0
- 12.1
- 12.2
- 12.3
- 12.4
- 13.0–13.2
- 13.3
- 13.4–13.5
- 14.0
- 14.1–14.5
- 15.0–16.0