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

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



On Sun, Aug 03, 2025 at 11:58:59AM +0200, Nicolas George wrote:

[...]

> As Tomas pointed, with dd specifically you can use oflag=sync to have it
> sync explicitly between each block, to get a better progress estimate.
> Be sure to use a large block size or you will ruin performances.

Oh, yes, forgot that one, thanks for mentioning. After some experimenting,
I settled with bs=4M (note that this is for USB 3, and for some specific
computer and stick, some experimenting pays off): it somewhat "flats off"
beyond that point.

The default, 512 bytes, is *definitely* too small: from there to 4M there
was a factor of roughly 8 in troughput for me.

So, as Nicolas says, throw in a "bs=4M" (or 1G or whatnot) into the mix.

Cheers
-- 
tomás

Attachment: signature.asc
Description: PGP signature


Reply to: