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

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 12 Dec 2011 18:02:02 UTC

Severity: wishlist

Tags: wontfix

Merged with 10282, 11526

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Elliott Forney <idfah <at> cs.colostate.edu>
Cc: 10281 <at> debbugs.gnu.org
Subject: bug#10281: change in behavior of du with multiple arguments (commit efe53cc)
Date: Tue, 19 Feb 2013 08:37:34 -0800
On 02/18/2013 11:09 PM, Elliott Forney wrote:
> There is no question in my mind about recounting
> multiple links (not recounting links is the historical behavior if for
> no other reason).

Unfortunately if memory serves that's not the case either.
In non-GNU implementations, multiple links are sometimes counted
and sometimes not.  If you run 'du a b' and a/f and b/f
are hard links, they might be counted twice, and might not be -- it
depends on the implementation.

The area is indeed a mess and no matter what GNU du does it will
disagree with somebody.

It might be reasonable to add an option to GNU du to have it mimic
the behavior you prefer, if we can nail down exactly what that is.




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.