[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10281: change in behavior of du with multiple arguments (commit efe5
bug#10281: change in behavior of du with multiple arguments (commit efe53cc)
Tue, 19 Feb 2013 08:37:34 -0800
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
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.