tail head cat sleep
QR code linking to this page

manページ  — SYNC

名称

sync – 未実行のディスク書き込みを強制実行する ( キャッシュのフラッシュ )

内容

書式


sync

解説

reboot(8) または halt(8) を使わずにプロセッサを停止する場合、全てのディスク書き込みが 適切に完了することを保証するため、停止に先だって sync ユーティリティを呼ぶことができます。 一般的には、システムをシャットダウンするには reboot(8) もしくは halt(8) を使うことが好ましいでしょう。 なぜならこれらのプログラムは、最終的な sync を実行する前に、内蔵時計の再同期や内部キャッシュの フラッシュなどの追加動作を実行する場合があるからです。

sync ユーティリティは、 sync(2) ファンクションコールを利用します。

関連項目

fsync(2), sync(2), syncer(4) [英語], halt(8), reboot(8)

歴史

sync ユーティリティは AT&T v4 から実装されました。

SYNC (8) May 31, 1993

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual).
— The Unix Haters' handbook