It is customary to prepare a to-be-encrypted disk with a command such as
Is there any rhyme or reason to choosing the block size for such a thing? Omitting bs=bar altogether is very inefficient, but setting it to 1 GB or something doesn't help much either. Is it possible to obtain a rough estimate of the optimum value from parameters such as the disk transfer speed, type of disk, etc.?
Fonz
# dd if=/dev/random of=/dev/foo bs=bar
Is there any rhyme or reason to choosing the block size for such a thing? Omitting bs=bar altogether is very inefficient, but setting it to 1 GB or something doesn't help much either. Is it possible to obtain a rough estimate of the optimum value from parameters such as the disk transfer speed, type of disk, etc.?
Fonz