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
F163248886: D21422.id62775.diff
Tue, Jul 21, 10:03 AM
Unknown Object (File)
Mon, Jul 20, 4:34 AM
Unknown Object (File)
Mon, Jul 20, 3:09 AM
Unknown Object (File)
Wed, Jul 8, 8:46 AM
Unknown Object (File)
Sun, Jun 28, 3:34 PM
Unknown Object (File)
Mon, Jun 22, 12:18 PM
Unknown Object (File)
Jun 18 2026, 4:45 AM
Unknown Object (File)
May 20 2026, 8:36 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 Not Applicable
Unit
Tests Not Applicable

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.