Add conv=fdatasync flag to dd
authorMatt Macy <mmacy@FreeBSD.org>
Mon, 30 Sep 2019 21:48:12 +0000 (21:48 +0000)
committerMatt Macy <mmacy@FreeBSD.org>
Mon, 30 Sep 2019 21:48:12 +0000 (21:48 +0000)
commit3b96efbda0395b5bacfb6930dfaf664f5c718512
treed2379d92c6be0f823c6b25f64b0ce9f4e1791ebe
parentf9fd94f534419e47922c534cee791beed485faaa
Add conv=fdatasync flag to dd

The fdatasync flag performs an fdatasync(2) on the output file before closing it.
This will be useful for the ZFS test suite.

Submitted by: Ryan Moeller
Reviewed by: manpages, mmacy@
MFC after: 1 week
Sponsored by: iXSystems, Inc.
Differential Revision: https://reviews.freebsd.org/D21373
bin/dd/args.c
bin/dd/dd.1
bin/dd/dd.c
bin/dd/dd.h
bin/dd/extern.h