From 5ead9a1bad9753faca636f0e0d048bb6a300f65a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 5 Apr 2010 23:18:24 -0700 Subject: [PATCH] add pcu-fsync(1) manpage --- pcu-fsync.1.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pcu-fsync.1.txt diff --git a/pcu-fsync.1.txt b/pcu-fsync.1.txt new file mode 100644 index 0000000..958f0d3 --- /dev/null +++ b/pcu-fsync.1.txt @@ -0,0 +1,42 @@ +% PCU-FSYNC(1) Page Cache Utilities Manual +% Eric Wong +% Jan 26, 2010 + +# NAME +pcu-fsync - synchronizes a files in-core state with storage device + +# SYNOPSIS +pcu-fsync [-D] [-d] FILE... + +# DESCRIPTION +A command-line interface to the fsync(2) and fdatasync(2) system calls +to flush modified buffers for a given file to the underlying storage device. +This is useful for explicitly flushing files to the storage device when +using applications that fail to explicitly do so. + +# OPTIONS +-D +: Flush the directory containing the file as well as the file + itself. This is useful and needed if the file was recently + rename(2)-ed or created. + +-d +: Flush data (but not metadata) using fdatasync(2). This is for + special cases where applications do not require the performance + overhead of flushing metadata to the storage device. + +# OUTPUT +Errors only. + +# ENVIRONMENT +None. + +# SEE ALSO +[`fsync`(2)][1] +[`fdatasync`(2)][2] + +# BUGS +None known. Email if you find any. + +[1]: http://kernel.org/doc/man-pages/online/pages/man2/fsync.2.html +[2]: http://kernel.org/doc/man-pages/online/pages/man2/fdatasync.2.html -- 2.11.4.GIT