bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in du


From: Paul Eggert
Subject: Re: bug in du
Date: Wed, 18 May 2005 16:36:29 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> One possible fix is revisiting line 377 in src/du.c in CVS, which
> currently skips hard links only if a file has multiple links.

Sorry, I don't quite follow this.  Don't all the directories in
question have multiple links?  Or, if you're talking about walking
through the directory multiple times and discarding each file you
find, that sounds pretty slow.

> The other fix would be to also check directories for identical
> inodes, and not descending through a directory by a second spelling
> if it has already been visited once.

That makes more sense to me, anyway: directories should be treated
like other files.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]