[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED] Re: writing iso file to usb stick with dd - garbled files - usb eject error?



On Sat, Aug 02, 2025 at 10:49:44PM -0500, Titus Newswanger wrote:
> On 8/2/25 20:53, Nate Bargmann wrote:
> > The command you're probably thinking of is sync.

I always recommend to add "oflag=sync" to dd itself: this way it
syncs as it goes and you don't have to wait for a (potentially
long) time for sync to "come back".

Together with "status=progress" you get a visual feedback on how
things are going (without having to kill -USR1 the thing all the
time :)

So:

  dd if=<mysource> of=<mydest> oflag=sync status=progress

When that's done, it's done (you can throw a sync after it to feel
better, but it will come back immediately anyway :-)

Cheers
-- 
tomás

Attachment: signature.asc
Description: PGP signature


Reply to: