GNU bug report logs - #11526
du: hard-links counting with multiple arguments (commit

Previous Next

Package: coreutils;

Reported by: Chris Marusich <cmmarusich <at> gmail.com>

Date: Sun, 20 May 2012 16:57:01 UTC

Severity: wishlist

Tags: wontfix

Merged with 10281, 10282

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 11526 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 11526 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
Subject: Re: bug#11526: "du -s . foo bar" only outputs size of first argument
	-- versions 8.13, 8.16, and 8.17 (latest)
Date: Sun, 20 May 2012 15:18:24 -0700
[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.