From 57fbaa8a74b06564b8e09e056c1f3c163d1c8b73 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 27 Nov 2004 09:37:22 +0000 Subject: [PATCH] (du invocation): Use if=/dev/null rather than :|. Problem reported by Dan Jacobson. Use "seek=2GiB" rather than the wordier "seek=`echo '2^31'|bc`". Say "KiB" not the (inaccurate) "kilobytes". Similarly for "GiB" and "gigabytes". --- doc/coreutils.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 85c4188e87..3e9a7d3c72 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8818,16 +8818,16 @@ file is the number of bytes reported by @code{wc -c} on regular files, or more generally, @code{ls -l --block-size=1} or @code{stat --format=%s}. For example, a file containing the word @samp{zoo} with no newline would, of course, have an apparent size of 3. Such a small file may require -anywhere from zero to 16 or more kilobytes of disk space, depending on +anywhere from 0 to 16 KiB or more of disk space, depending on the type and configuration of the file system on which the file resides. However, a sparse file created with this command: @example -: | dd bs=1 seek=`echo '2^31'|bc` of=big +dd bs=1 seek=2GiB if=/dev/null of=big @end example @noindent -has an apparent size of 2 gigabytes, yet on most modern +has an apparent size of 2 GiB, yet on most modern systems, it actually uses almost no disk space. @item -b -- 2.47.2