GNU bug report logs -
#10281
du: hard-links counting with multiple arguments (commit
Previous Next
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
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.
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.