bin/122652: [patch] du(1) support for inode count

Andrew Pantyukhin infofarmer at FreeBSD.org
Sat May 3 09:50:03 UTC 2008


The following reply was made to PR bin/122652; it has been noted by GNATS.

From: Andrew Pantyukhin <infofarmer at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc: David Schultz <das at FreeBSD.org>
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.


More information about the freebsd-bugs mailing list