Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g5OAhhnC024357 for ; Mon, 24 Jun 2002 03:43:43 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g5OAhhQp024356 for linux-xfs-outgoing; Mon, 24 Jun 2002 03:43:43 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from srv.dmz.us.mvd (namodn.com [209.0.100.50] (may be forged)) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g5OAhZnC024306 for ; Mon, 24 Jun 2002 03:43:35 -0700 Received: from mountainviewdata.com (unknown [210.72.245.13]) by srv.dmz.us.mvd (Postfix) with ESMTP id 2BD4CB70D for ; Mon, 24 Jun 2002 03:46:54 -0700 (PDT) Message-ID: <3D16F61F.FCAFC63B@mountainviewdata.com> Date: Mon, 24 Jun 2002 18:36:15 +0800 From: tom X-Mailer: Mozilla 4.61 [zh_CN] (X11; I; Linux 2.4.18-xfs-1.1 i686) X-Accept-Language: zh-CN, en MIME-Version: 1.0 To: linux-xfs@oss.sgi.com Subject: question about inode count. Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=1.3 required=5.0 tests=MAY_BE_FORGED version=2.20 X-Spam-Level: * Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Sorry, maybe some one had asked the same question. But I really want to figure out the phenomenon shown below. $ mkfs.xfs -f /dev/hda6 $ xfs_db /dev/hda6 xfs_db: agi 0 xfs_db: p magicnum = 0x58414749 versionnum = 1 seqno = 0 length = 78317 count = 64 ----> the already allocated inode count root = 3 level = 1 freecount = 61 ----> why the freecount is 61? I guess one of the used inode is rootip, but what's the remaining two? newino = 128 dirino = null unlinked[0-63] = ## after we mount the system. $mount -t xfs /dev/hda6 /mnt ## and touch a file, $ touch /mnt/a $ ls -i /mnt/a 131 a # the inode num is counted from 131, not 129(the root inode is 128), # where are the inodes of 129 and 130? Best regards.