I am copying yocto build linux image to sd-card from Ubuntu 14.04 system. The command is:

$ sudo dd bs=4M if=filename.rpi-sdimg of=/dev/sdX conv=fsync

What does mean here of


I red from here

Synchronize output data and metadata just before finishing. This forces a physical write of output data and metadata.

But I did not understand by this line. What is mean by synchronization, metadata and what will be the effect if I do not include it in the command.

How is it different from fdatasync which only synchronizes output data.

  • I also wonder what the metadata that fdatasync does does not take care of is.
    – jarno
    Dec 4, 2019 at 12:50

1 Answer 1


Some devices use buffers and caches in order to improve their throughput and latency performance. This command makes the device flush its buffers and caches so that if the device is removed the data is written to it before the operation is marked as complete and control passed back to the terminal prompt.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .