Page MenuHomeFreeBSD

Add oflag=fsync and oflag=sync capability to dd
ClosedPublic

Authored by freqlabs on Aug 26 2019, 8:53 PM.
Tags
None
Referenced Files
F103222901: D21422.diff
Fri, Nov 22, 9:32 AM
F103132785: D21422.diff
Thu, Nov 21, 10:42 AM
Unknown Object (File)
Wed, Nov 13, 7:56 PM
Unknown Object (File)
Mon, Nov 11, 12:38 AM
Unknown Object (File)
Oct 22 2024, 12:19 PM
Unknown Object (File)
Oct 16 2024, 12:14 PM
Unknown Object (File)
Oct 15 2024, 12:27 PM
Unknown Object (File)
Oct 3 2024, 2:09 AM
Subscribers

Details

Summary

Sets the O_FSYNC flag on the output file. oflag=fsync and oflag=sync are synonyms just as O_FSYNC and O_SYNC are synonyms. This functionality is intended to improve portability of dd commands in the ZFS test suite.

Sponsored by: iXsytems, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I also plan to add support for iflag=fullblock in a follow-up revision.

bcr added a subscriber: bcr.

OK from manpages. Make sure to bump the .Dd for this content change.
Thank you!

Another OK from manpages!

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