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: Jim Meyering <jim <at> meyering.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Wade Stebbings <wade <at> min.ascend.com>, Kamil Dudka <kdudka <at> redhat.com>, 10281 <at> debbugs.gnu.org
Subject: bug#10281: change in behavior of du with multiple arguments (commit efe53cc)
Date: Mon, 12 Dec 2011 19:09:56 +0100
Paul Eggert wrote:
> 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.

FYI, Kamil's original mail never to have reached the mailing list[*],
in spite of reaching debbugs and acquiring a bug number and then going
on to reach Paul (the Cc'd recipient).

Kamil or Paul, would you please post the original, for the record?

Jim

[*] Ward Vandewege confirmed that the message reached debbugs but
somehow was not passed on to eggs.gnu.org.




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.