summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-27 09:37:22 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-27 09:37:22 +0000
commit57fbaa8a74b06564b8e09e056c1f3c163d1c8b73 (patch)
tree829cd3f584fb8972358316ea0672b20c20de90ba /doc
parent6942c45d5027d80b20cb2c033be6017d3eb92938 (diff)
downloadcoreutils-57fbaa8a74b06564b8e09e056c1f3c163d1c8b73.tar.xz
(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".
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 85c4188e8..3e9a7d3c7 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