Add conv=fsync flag to dd
authorMatt Macy <mmacy@FreeBSD.org>
Tue, 3 Sep 2019 18:35:55 +0000 (18:35 +0000)
committerMatt Macy <mmacy@FreeBSD.org>
Tue, 3 Sep 2019 18:35:55 +0000 (18:35 +0000)
commitce1b19d8c8d160353397ced6a971cc5126da8867
tree2b8a7fb221bd7b887be606c22f200eab2294d4a2
parentaef64c62c2a6a059e175b3a8b57a61aa4f3f2db8
Add conv=fsync flag to dd

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

Submitted by: ryan@ixsystems.com
Reviewed by: jilles@, imp@
MFC after: 1 week
Sponsored by: iXsystems, Inc.
bin/dd/args.c
bin/dd/dd.1
bin/dd/dd.c
bin/dd/dd.h