1 % PCU-FSYNC(1) Page Cache Utilities Manual
2 % Eric Wong <normalperson@yhbt.net>
6 pcu-fsync - synchronizes a files in-core state with storage device
9 pcu-fsync [-D] [-d] FILE...
12 A command-line interface to the fsync(2) and fdatasync(2) system calls
13 to flush modified buffers for a given file to the underlying storage device.
14 This is useful for explicitly flushing files to the storage device when
15 using applications that fail to explicitly do so.
19 : Flush the directory containing the file as well as the file
20 itself. This is useful and needed if the file was recently
21 rename(2)-ed or created.
24 : Flush data (but not metadata) using fdatasync(2). This is for
25 special cases where applications do not require the performance
26 overhead of flushing metadata to the storage device.
39 None known. Email <pcu@librelist.com> if you find any.
41 [1]: http://kernel.org/doc/man-pages/online/pages/man2/fsync.2.html
42 [2]: http://kernel.org/doc/man-pages/online/pages/man2/fdatasync.2.html