From: Jim Meyering Date: Mon, 14 Jun 2010 08:15:57 +0000 (+0200) Subject: doc: dd: discourage use of very large block sizes X-Git-Tag: v8.6~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ceb84598d8c3a166e6949606710771f58eb2be56;p=thirdparty%2Fcoreutils.git doc: dd: discourage use of very large block sizes * doc/coreutils.texi (dd invocation): Warn against using a very large block size. Suggested by Imre Péntek. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 26b4eba644..102ceaf97c 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8020,6 +8020,11 @@ followed by a multiplier: @samp{b}=512, @samp{c}=1, @samp{w}=2, @samp{x@var{m}}=@var{m}, or any of the standard block size suffixes like @samp{k}=1024 (@pxref{Block size}). +Any block size you specify via @samp{bs=}, @samp{ibs=}, @samp{obs=}, @samp{cbs=} +should not be too large---values larger than a few megabytes +are generally wasteful or (as in the gigabyte..exabyte case) downright +counterproductive or error-inducing. + Use different @command{dd} invocations to use different block sizes for skipping and I/O@. For example, the following shell commands copy data in 512 KiB blocks between a disk and a tape, but do not save or restore a