Sync

REBOOT(8) - System Manager's Manual

Sync, Boot_sparc64, Boot_luna88k, Savecore, Boot_alpha, Rc.shutdown, Boot_i386, Boot_hppa, Shutdown, Boot_amd64, Rc.d, Boot_macppc, Utmp, Reboot

REBOOT(8) - System Manager’s Manual # REBOOT(8) - System Manager’s Manual NAME # reboot, halt - stopping and restarting the system SYNOPSIS # halt [-dnpq] reboot [-dnq] DESCRIPTION # The halt and reboot utilities flush the file system cache to disk, execute the rc.d(8) scripts specified by the pkg_scripts variable defined in rc.conf(8) in a reverse order, run the system shutdown script, send all running processes a SIGTERM (and subsequently a SIGKILL), and, respectively, halt or restart the system. ...

SYNC(8) - System Manager's Manual

Fsync, Halt, Reboot, Sync

SYNC(8) - System Manager’s Manual # SYNC(8) - System Manager’s Manual NAME # sync - force completion of pending disk writes (flush cache) SYNOPSIS # sync DESCRIPTION # 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. ...