From owner-freebsd-bugs@FreeBSD.ORG Sat May 3 09:50:03 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D16A01065674 for ; Sat, 3 May 2008 09:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AC6BF8FC14 for ; Sat, 3 May 2008 09:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m439o3TW078966 for ; Sat, 3 May 2008 09:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m439o3qF078965; Sat, 3 May 2008 09:50:03 GMT (envelope-from gnats) Date: Sat, 3 May 2008 09:50:03 GMT Message-Id: <200805030950.m439o3qF078965@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andrew Pantyukhin Cc: Subject: Re: bin/122652: [patch] du(1) support for inode count X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Pantyukhin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 09:50:03 -0000 The following reply was made to PR bin/122652; it has been noted by GNATS. From: Andrew Pantyukhin To: bug-followup@FreeBSD.org Cc: David Schultz Subject: Re: bin/122652: [patch] du(1) support for inode count Date: Sat, 3 May 2008 13:43:23 +0400 Well, du doesn't count size multiple times in case of hard links, so why should the same loop count inodes the wrong way? I just tested, and it acts as expected: neither "df -i" nor "du -i" counters increase when a new hard link is created.