1*47462Scael.\" Copyright (c) 1980, 1991 Regents of the University of California. 2*47462Scael.\" All rights reserved. 318932Smckusick.\" 4*47462Scael.\" %sccs.include.redist.man% 518932Smckusick.\" 6*47462Scael.\" @(#)sync.8 6.3 (Berkeley) 03/16/91 7*47462Scael.\" 8*47462Scael.Dd 9*47462Scael.Dt SYNC 8 10*47462Scael.Os BSD 4 11*47462Scael.Sh NAME 12*47462Scael.Nm sync 13*47462Scael.Nd synchronize internal filesystem information with that on the disk 14*47462Scael.Sh SYNOPSIS 15*47462Scael.Nm /etc/sync 16*47462Scael.Sh DESCRIPTION 17*47462Scael.Xr Sync 1828856Skarelscan be called to insure that all disk writes have been completed before the 1918932Smckusickprocessor is halted in a way not suitably done by 20*47462Scael.Xr reboot 8 2118932Smckusickor 22*47462Scael.Xr halt 8 . 2328856SkarelsGenerally, it is preferable to use 24*47462Scael.Xr reboot 2528856Skarelsor 26*47462Scael.Xr halt 2728856Skarelsto shut down the system, 2828856Skarelsas they may perform additional actions 2928856Skarelssuch as resynchronizing the hardware clock 3028856Skarelsand flushing internal caches before performing a final 31*47462Scael.Xr sync . 32*47462Scael.Pp 33*47462Scael.Nm sync 34*47462Scaelutilizes the 35*47462Scael.Xr sync 2 36*47462Scaelfunction call. 37*47462Scael.Sh SEE ALSO 38*47462Scael.Xr sync 2 , 39*47462Scael.Xr fsync 2 , 40*47462Scael.Xr halt 8 , 41*47462Scael.Xr reboot 8 , 42*47462Scael.Xr update 8 43*47462Scael.Sh HISTORY 44*47462ScaelA 45*47462Scael.Nm 46*47462Scaelcommand appeared in Version 6 AT&T UNIX. 47