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: Eric Blake <eblake <at> redhat.com>
Cc: Don Cragun <dcragun <at> sonic.net>, 10281 <at> debbugs.gnu.org, austin-group-l <austin-group-l <at> opengroup.org>
Subject: bug#10281: [1003.1(2008)/Issue 7 0000527]: du and files found via multiple command line arguments
Date: Thu, 12 Jan 2012 10:29:56 -0800
On 01/12/12 09:49, Eric Blake wrote:
> It boils down to a decision of whether we want to standardize a useful
> behavior, and whether that behavior avoids over-counting, but possibly
> invalidating existing implementations (in which case, it is better
> targetted to Issue 8), or whether we give up and declare things
> unspecified when encountering files with link count of 1 through
> multiple locations (in which case we could make the changes in TC2 of
> Issue 7, and still make recommendations on the underlying goal of
> avoiding over-counting).

We can do both, and it makes sense to do both.
That is, we can have Issue 7 TC2 specify Option 2B
with a suggestion to implement Option 2A, and have
Issue 8 require Option 2A.

> cpio may have a similar issue on overcounting.

Good point; it's likely that many implementations of pax, cpio, and
tar have problems in this area.  I fixed this bug in GNU tar
in 2010, here:

http://git.savannah.gnu.org/cgit/tar.git/commit/?id=37ddfb0b7eb41cc3f58bce686d389b1e965e9ccf




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.