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
Unknown Object (File)
Mar 11 2024, 5:12 PM
Unknown Object (File)
Mar 11 2024, 5:12 PM
Unknown Object (File)
Mar 11 2024, 5:12 PM
Unknown Object (File)
Mar 8 2024, 2:24 AM
Unknown Object (File)
Feb 8 2024, 6:38 PM
Unknown Object (File)
Feb 5 2024, 2:26 PM
Unknown Object (File)
Dec 14 2023, 6:51 PM
Unknown Object (File)
Dec 7 2023, 8:51 PM
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.