On 12/12/11 04:50, Kamil Dudka wrote: > Was such a change in behavior intended? I am asking as I was not able to > find it documented anywhere.
It was intended, as it provides useful functionality that can't be done if hard links aren't tracked across arguments, whereas the reverse isn't true. It's documented in <http://www.gnu.org/software/coreutils/manual/coreutils.html#du-invocation>, which says: If two or more hard links point to the same file, only one of the hard links is counted. The file argument order affects which links are counted, and changing the argument order may change the numbers that du outputs. Perhaps this isn't sufficiently clear, and if so, suggestions for improvements are welcome.
