I have a small problem in use of dd, actually I read this topic: How to create a bootable Ubuntu USB flash drive from terminal? and I cannot understand some things,Now my question is: whats the meaning of "bs=X" and "&& synce" in dd?
Asked
Active
Viewed 47 times
0
1 Answers
0
From man dd
, with many more options avalable:
bs=BYTES
read and write up to BYTES bytes at a time
You'd usually use Mega Bytes, for example bs=4M
or bs=4096
.
&& sync
is there to flush buffers after dd is finished.

mikewhatever
- 32,638
block size
when reading and writing from same drive a higher block size will reduce disk thrashing, ie constant head seeking, reading, seeking and writing. In your caseif
andof
are different drives so it's a mute point I think. Default is512
but some recommend32MB
. As forsync
- related: https://askubuntu.com/questions/706670/why-is-the-sync-option-used-with-the-dd-command – WinEunuuchs2Unix Jul 08 '17 at 22:49