Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: bug-coreutils AT gnu DOT org Cc: cygwin AT cygwin DOT com, Reini Urban Subject: Re: bug in du References: <302d72f2c4cb7d883558c713e211f68b AT NO-ID-FOUND DOT mhonarc DOT org> <428A7ADF DOT 20409 AT x-ray DOT at> <428B3B5C DOT 60306 AT byu DOT net> <428B408B DOT 7050902 AT byu DOT net> From: Paul Eggert Date: Wed, 18 May 2005 16:36:29 -0700 In-Reply-To: <428B408B.7050902@byu.net> (Eric Blake's message of "Wed, 18 May 2005 07:18:03 -0600") Message-ID: <87sm0k5coy.fsf@penguin.cs.ucla.edu> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Eric Blake 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. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/