fsync.1 (4aeb1c05fbe992cf7d9af2b316e897928efb207c) fsync.1 (2333aeef12fd50793a96b0adce06a554c3dfd0a3)
1.\" Copyright (c) 2000 Paul Saab <ps@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 11 unchanged lines hidden (view full) ---

20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd June 15, 2000
1.\" Copyright (c) 2000 Paul Saab <ps@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 11 unchanged lines hidden (view full) ---

20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd June 15, 2000
28.Dt FSYNC 8
28.Dt FSYNC 1
29.Os
30.Sh NAME
31.Nm fsync
32.Nd synchronize a file's in-core state with that on disk
33.Sh SYNOPSIS
34.Nm fsync
35.Ar file ...
36.Sh DESCRIPTION
37.Nm Fsync
38causes all modified data and meta-data of
39a file to be written to a permanent storage device.
40.Pp
41.Nm Fync
42utilizes the
43.Xr fync 2
44function call.
45.Sh SEE ALSO
46.Xr fsync 2 ,
47.Xr sync 2 ,
29.Os
30.Sh NAME
31.Nm fsync
32.Nd synchronize a file's in-core state with that on disk
33.Sh SYNOPSIS
34.Nm fsync
35.Ar file ...
36.Sh DESCRIPTION
37.Nm Fsync
38causes all modified data and meta-data of
39a file to be written to a permanent storage device.
40.Pp
41.Nm Fync
42utilizes the
43.Xr fync 2
44function call.
45.Sh SEE ALSO
46.Xr fsync 2 ,
47.Xr sync 2 ,
48.Xr update 4 ,
48.Xr syncer 4 ,
49.Xr halt 8 ,
50.Xr reboot 8
51.Sh HISTORY
52The
53.Nm
54command first appeared in
55.Fx 5.0 .
49.Xr halt 8 ,
50.Xr reboot 8
51.Sh HISTORY
52The
53.Nm
54command first appeared in
55.Fx 5.0 .