164
you are viewing a single comment's thread
view the rest of the comments
[-] Shayeta@feddit.org 2 points 1 month ago

Same, waiting for sync -f to finish would help most of the time.

[-] ulterno@programming.dev 1 points 1 month ago* (last edited 1 month ago)

TIL, dd has the option conv=fsync that makes it wait until all writing is finished, before exiting.

So you can just touch /path/to/new/filename and then dd ... of=/path/to/new/filename conv=fsync

Of course, you would have to do this for each file, in case it is multiple

this post was submitted on 27 Oct 2026
164 points (100.0% liked)

Linux

15604 readers
186 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS