On 05/16/2021 12:42 PM, Michael Stone wrote:
On Sat, May 15, 2021 at 11:32:31PM +0300, IL Ka wrote:
As noted, is there a minimum bs size for dd?
It seems that you can set bs as small as 1.
512 is the default because of HDD block size which used to be 512
bytes for
more than 30 years (before advanced format was invented)
dd wasn't invented to do things with hard drives, it was for working
with tapes, file conversions, etc. Since record sizes on tapes and
within files can vary widely, it's very flexible about what block sizes
to use, and how to pad data to convert between block sizes. In most
cases when people use dd these days it's not really the right tool for
the job.
I'll bite ;}
When is it the right tool?
When is it not?