summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-02-27 19:12:08 +0100
committerJim Meyering <jim@meyering.net>2007-02-27 19:33:03 +0100
commit817d0261eb5493c626e07f570bd28c155857b584 (patch)
treec7dfb6248822d460698ed38d8e4930eb304a802b /doc
parent898d3df2f803f9d8c6967affee6a0e4ae6f89f13 (diff)
downloadcoreutils-817d0261eb5493c626e07f570bd28c155857b584.tar.xz
Make df -P immune to effects of e.g., the BLOCK_SIZE envvar.
* NEWS: With -P, the default block size and output format is not affected by DF_BLOCK_SIZE, BLOCK_SIZE, or BLOCKSIZE. * src/df.c (main): Implement this. * doc/coreutils.texi (df invocation): With -P, the default block size and output format is not affected by DF_BLOCK_SIZE, BLOCK_SIZE, or BLOCKSIZE.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog6
-rw-r--r--doc/coreutils.texi7
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 6835cf7bc..f296614f0 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * coreutils.texi (df invocation): With -P, the default block size
+ and output format is not affected by DF_BLOCK_SIZE, BLOCK_SIZE, or
+ BLOCKSIZE.
+
2007-01-30 Paul Eggert <eggert@cs.ucla.edu>
* coreutils.texi
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 99412e425..b313afdc7 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -9481,6 +9481,13 @@ some network mounts), the columns are misaligned.
@item
The labels in the header output line are changed to conform to @acronym{POSIX}.
+
+@item
+The default block size and output format are unaffected by the
+@env{DF_BLOCK_SIZE}, @env{BLOCK_SIZE} and @env{BLOCKSIZE} environment
+variables. However, the default block size is still affected by
+@env{POSIXLY_CORRECT}: it is 512 if @env{POSIXLY_CORRECT} is set, 1024
+otherwise. @xref{Block size}.
@end enumerate
@optSi