From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 28 08:10:13 2011 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 153921065672 for ; Tue, 28 Jun 2011 08:10:13 +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 048818FC13 for ; Tue, 28 Jun 2011 08:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5S8ACZJ065374 for ; Tue, 28 Jun 2011 08:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5S8ACZg065373; Tue, 28 Jun 2011 08:10:12 GMT (envelope-from gnats) Date: Tue, 28 Jun 2011 08:10:12 GMT Message-Id: <201106280810.p5S8ACZg065373@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: William Dean DeVries Cc: Subject: Re: kern/158376: [patch] The UDF file system under counts the number of entries in directories by one. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: William Dean DeVries List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 08:10:13 -0000 The following reply was made to PR kern/158376; it has been noted by GNATS. From: William Dean DeVries To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/158376: [patch] The UDF file system under counts the number of entries in directories by one. Date: Tue, 28 Jun 2011 00:39:03 -0700 Err, I have this all wrong. I don't know where I came up with directories entry counts. The UDF file system under counts the number of links to directories by one. It does not count for '.', which doesn't actually exist in the file system but presented in the by system. A directory in the udf filesystem with one subdirectory and no other links to the directory would have a link count of 2. This arrangement under udf would have a link count of 3.