Page MenuHomeFreeBSD

Add conv=fdatasync flag to dd
ClosedPublic

Authored by rmoeller on Aug 22 2019, 8:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 4:32 AM
Unknown Object (File)
Fri, Sep 25, 10:53 AM
Unknown Object (File)
Mon, Sep 21, 7:56 AM
Unknown Object (File)
Mon, Sep 21, 7:51 AM
Unknown Object (File)
Mon, Sep 21, 7:51 AM
Unknown Object (File)
Thu, Sep 17, 5:22 PM
Unknown Object (File)
Sep 8 2026, 7:31 AM
Unknown Object (File)
Sep 6 2026, 5:23 PM
Subscribers

Details

Summary

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

Sponsored by: iXsystems, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I will check the result of close(2) in a follow-up patch as suggested in PR229616

bcr added a subscriber: bcr.

OK from manpages, but bump the .Dd when committing for this content change.
Thank you!

This revision is now accepted and ready to land.Sep 30 2019, 9:43 PM
This revision was automatically updated to reflect the committed changes.