14aeb1c05SPaul Saab.\" Copyright (c) 2000 Paul Saab <ps@FreeBSD.org> 24aeb1c05SPaul Saab.\" All rights reserved. 34aeb1c05SPaul Saab.\" 44aeb1c05SPaul Saab.\" Redistribution and use in source and binary forms, with or without 54aeb1c05SPaul Saab.\" modification, are permitted provided that the following conditions 64aeb1c05SPaul Saab.\" are met: 74aeb1c05SPaul Saab.\" 1. Redistributions of source code must retain the above copyright 84aeb1c05SPaul Saab.\" notice, this list of conditions and the following disclaimer. 94aeb1c05SPaul Saab.\" 2. Redistributions in binary form must reproduce the above copyright 104aeb1c05SPaul Saab.\" notice, this list of conditions and the following disclaimer in the 114aeb1c05SPaul Saab.\" documentation and/or other materials provided with the distribution. 124aeb1c05SPaul Saab.\" 134aeb1c05SPaul Saab.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 144aeb1c05SPaul Saab.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 154aeb1c05SPaul Saab.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 164aeb1c05SPaul Saab.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 174aeb1c05SPaul Saab.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 184aeb1c05SPaul Saab.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 194aeb1c05SPaul Saab.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 204aeb1c05SPaul Saab.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 214aeb1c05SPaul Saab.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 224aeb1c05SPaul Saab.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 234aeb1c05SPaul Saab.\" SUCH DAMAGE. 244aeb1c05SPaul Saab.\" 254aeb1c05SPaul Saab.\" $FreeBSD$ 264aeb1c05SPaul Saab.\" 274aeb1c05SPaul Saab.Dd June 15, 2000 284aeb1c05SPaul Saab.Dt FSYNC 8 294aeb1c05SPaul Saab.Os 304aeb1c05SPaul Saab.Sh NAME 314aeb1c05SPaul Saab.Nm fsync 324aeb1c05SPaul Saab.Nd synchronize a file's in-core state with that on disk 334aeb1c05SPaul Saab.Sh SYNOPSIS 344aeb1c05SPaul Saab.Nm fsync 354aeb1c05SPaul Saab.Ar file ... 364aeb1c05SPaul Saab.Sh DESCRIPTION 374aeb1c05SPaul Saab.Nm Fsync 384aeb1c05SPaul Saabcauses all modified data and meta-data of 394aeb1c05SPaul Saaba file to be written to a permanent storage device. 404aeb1c05SPaul Saab.Pp 414aeb1c05SPaul Saab.Nm Fync 424aeb1c05SPaul Saabutilizes the 434aeb1c05SPaul Saab.Xr fync 2 444aeb1c05SPaul Saabfunction call. 454aeb1c05SPaul Saab.Sh SEE ALSO 464aeb1c05SPaul Saab.Xr fsync 2 , 474aeb1c05SPaul Saab.Xr sync 2 , 484aeb1c05SPaul Saab.Xr update 4 , 494aeb1c05SPaul Saab.Xr halt 8 , 504aeb1c05SPaul Saab.Xr reboot 8 514aeb1c05SPaul Saab.Sh HISTORY 524aeb1c05SPaul SaabThe 534aeb1c05SPaul Saab.Nm 544aeb1c05SPaul Saabcommand first appeared in 554aeb1c05SPaul Saab.Fx 5.0 . 56