Page MenuHomeFreeBSD

Add conv=fdatasync flag to dd
ClosedPublic

Authored by freqlabs on Aug 22 2019, 8:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 3:46 AM
Unknown Object (File)
Sat, Oct 11, 9:15 AM
Unknown Object (File)
Mon, Oct 6, 2:02 PM
Unknown Object (File)
Mon, Oct 6, 12:35 PM
Unknown Object (File)
Wed, Sep 24, 2:17 AM
Unknown Object (File)
Wed, Sep 24, 12:59 AM
Unknown Object (File)
Tue, Sep 23, 11:54 PM
Unknown Object (File)
Sep 17 2025, 4:29 AM
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.