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)
Tue, Sep 8, 7:31 AM
Unknown Object (File)
Sun, Sep 6, 5:23 PM
Unknown Object (File)
Sat, Aug 29, 12:29 PM
Unknown Object (File)
Tue, Aug 25, 5:24 PM
Unknown Object (File)
Mon, Aug 24, 5:40 PM
Unknown Object (File)
Aug 12 2026, 11:01 AM
Unknown Object (File)
Aug 10 2026, 11:35 PM
Unknown Object (File)
Aug 10 2026, 6:07 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.