xfs
[Top] [All Lists]

question about inode count.

To: linux-xfs@xxxxxxxxxxx
Subject: question about inode count.
From: tom <twang@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Jun 2002 18:36:15 +0800
Sender: owner-linux-xfs@xxxxxxxxxxx
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.


<Prev in Thread] Current Thread [Next in Thread>