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: austin-group-l <austin-group-l <at> opengroup.org>
Cc: 10281 <at> debbugs.gnu.org
Subject: bug#10281: [1003.1(2008)/Issue 7 0000527]: du and files found via multiple command line arguments
Date: Mon, 23 Jan 2012 09:13:56 -0800
On 01/13/2012, Geoff Clare wrote:

> One problem with requiring Option 2A is that it requires du to use
> much more memory for hierarchies where there are large numbers
> of files with link count 1.  This could be a problem for embedded
> systems in particular.

The extra memory shouldn't be needed in the typical case
where there is at most one file operand and where -L is not used.
In the typical case, du is within its rights to not hash
files whose link count is 1, even if Option 2A is required.
This is because in the typical case du can't encounter the
same file twice if its link count is 1.




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.