FG

What is the difference between dd's direct and fsync options?

Fresh3 days ago
Mar 15, 202614538 views
Confidence Score0%
0%

Problem

I would like to copy an image to a USB thumb drive. As I would like to get "real" speeds, and don't want to wait ages for the device to sync after copying the image, I would like to know which options to use for that.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What is the difference between dd's direct and fsync options?

Low Risk

The fsync option will flush the data at the end of the copy. The dsync option will flush the data after every block. The direct option will have similar results as dsync, only without polluting the filesystem cache with the data. This is good for ca…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment