GNU bug report logs -
#11526
du: hard-links counting with multiple arguments (commit
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Thanks for your reply. I've read the thread and understand that the
intended behavior is not to double-count nodes so we can get an accurate
feel of the total size of the output of du -s by summing the sizes together.
However, the behavior contrasts with the description of -s ("display only a
total for each argument" on my system), so perhaps the documentation should
be updated? While it may be intuitive not to double-count a given
directory, I don't think the current description of -s makes it clear that
the size reported for a directory might be greater than 0 but less than the
actual size of the directory and all its contents (i.e. in the case where
one of its subdirectory was counted earlier). It should be made clear that
the numbers before each directory may in fact NOT be the actual size of
each directory, because that's what the description for -s seems to say now.
On Sun, May 20, 2012 at 2:17 PM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> forcemerge 10282 11526
> thanks
>
> Thanks, but this behavior is expected and is not a bug.
> We have been looking into ways of addressing the issue,
> though there's nothing currently active in this area.
> For more, please see <http://bugs.gnu.org/10282>.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 6 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.