diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2007-02-27 19:12:08 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-02-27 19:33:03 +0100 |
commit | 817d0261eb5493c626e07f570bd28c155857b584 (patch) | |
tree | c7dfb6248822d460698ed38d8e4930eb304a802b /doc | |
parent | 898d3df2f803f9d8c6967affee6a0e4ae6f89f13 (diff) | |
download | coreutils-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/ChangeLog | 6 | ||||
-rw-r--r-- | doc/coreutils.texi | 7 |
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 |