diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-02-16 10:54:01 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-02-16 10:54:01 +0000 |
commit | 977df67f5c2088c56109f41758b1ade7ae455977 (patch) | |
tree | 7eb17ba10f911f2e2a3ce66be64ef5a61298ce40 /bin/dd/dd.1 | |
parent | bde7fc53535f4c2ef83015b50263e8e84b69d90c (diff) |
Implement the conv=fsync feature which does an fsync(2) after the
final write to output. GNU dd also has this. It is useful for
write performance measurement or guaranteed writes to reliable
storage.
OK kn@ tedu@ deraadt@
Diffstat (limited to 'bin/dd/dd.1')
-rw-r--r-- | bin/dd/dd.1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/dd/dd.1 b/bin/dd/dd.1 index c4383b04451..c555c07a62e 100644 --- a/bin/dd/dd.1 +++ b/bin/dd/dd.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dd.1,v 1.33 2016/08/17 21:23:01 schwarze Exp $ +.\" $OpenBSD: dd.1,v 1.34 2019/02/16 10:54:00 bluhm Exp $ .\" $NetBSD: dd.1,v 1.5 1995/03/21 09:04:04 cgd Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)dd.1 8.2 (Berkeley) 1/13/94 .\" -.Dd $Mdocdate: August 17 2016 $ +.Dd $Mdocdate: February 16 2019 $ .Dt DD 1 .Os .Sh NAME @@ -203,6 +203,10 @@ is a slightly different mapping, which is compatible with the .At V .Cm ibm value. +.It Cm fsync +Call +.Xr fsync 2 +on the output file before exiting. .It Cm lcase Transform uppercase characters into lowercase characters. .It Cm noerror |