fsync.1 (176e82287390f22bdacaca7b0f87802df37826b0) fsync.1 (0b113423f2fbd155e5990540340d9a5c5a1c0d5d)
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.

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

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
36.Sh DESCRIPTION
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.

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

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
36.Sh DESCRIPTION
37.Nm Fsync
38causes all modified data and meta-data of
39a file to be written to a permanent storage device.
37The
38.Nm
39utility causes all the modified data and meta-data of
40all the files named on the command line
41to be written to a permanent storage device.
40.Pp
42.Pp
41.Nm Fsync
42utilizes the
43The
44.Nm
45utility uses the
43.Xr fsync 2
44function call.
45.Sh SEE ALSO
46.Xr fsync 2 ,
47.Xr sync 2 ,
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 .
46.Xr fsync 2
47function call.
48.Sh SEE ALSO
49.Xr fsync 2 ,
50.Xr sync 2 ,
51.Xr syncer 4 ,
52.Xr halt 8 ,
53.Xr reboot 8
54.Sh HISTORY
55The
56.Nm
57command first appeared in
58.Fx 5.0 .