diff options
author | Paul Eggert <eggert@CS.UCLA.EDU> | 2008-02-20 15:45:47 -0800 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-21 09:40:07 +0100 |
commit | bf9e98344df01e5a66cc9657bd975ef357773eb2 (patch) | |
tree | f040fa67df1da96c649b67edaee0b4e0ec530089 /doc | |
parent | 0f8faebb974621a7647d52beb3796121c07b3607 (diff) | |
download | coreutils-bf9e98344df01e5a66cc9657bd975ef357773eb2.tar.xz |
du vs. hard links and argument order: improve documentation
* doc/coreutils.texi (du invocation): Document default behavior on
hard links, and why argument order matters.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 040a1de9c..df6792d7e 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -9686,6 +9686,11 @@ directory. Normally the disk space is printed in units of 1024 bytes, but this can be overridden (@pxref{Block size}). Non-integer quantities are rounded up to the next higher unit. +If two or more hard links point to the same file, only one of the hard +links is counted. The @var{file} argument order affects which links +are counted, and changing the argument order may change the numbers +that @command{du} outputs. + The program accepts the following options. Also see @ref{Common options}. @table @samp |