On Wed, Jan 08, 2020 at 10:36:33PM +0000, Jonathan Dowland wrote:
On Wed, Jan 08, 2020 at 03:21:08PM -0500, Michael Stone wrote:
dd is certainly sufficient, but suggesting that someone use random
data is to suggest slowing things down without providing any
advantage.
I think "cp" might be faster still than "dd", at least in the /dev/zero
case, but the difference will be marginal (especially compared to the
speed difference between urandom and zero)
With a large block size dd will be limited by disk bandwidth for this
use case. cp may hit the disk bandwidth limit or may not, depending on
various factors which may not be obvious. Plus, dd is well understood
for this purpose, and can be configured with nifty progress updates. :)