* The "bfs_inode" KDL command now prints out some additional information

contained in the inode object when available (ie. when you don't use the
  '-b' option).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26524 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-07-20 16:34:56 +00:00
parent e700fc1d5c
commit f02e1e36e9

View File

@ -288,8 +288,17 @@ dump_inode(int argc, char** argv)
bfs_inode* node;
if (block)
node = (bfs_inode*)address;
else
node = &((Inode*)address)->Node();
else {
Inode* inode = (Inode*)address;
kprintf("INODE %p\n", inode);
kprintf(" file cache: %p\n", inode->FileCache());
kprintf(" file map: %p\n", inode->Map());
kprintf(" old size: %Ld\n", inode->OldSize());
kprintf(" old last modified: %Ld\n", inode->OldLastModified());
node = &inode->Node();
}
dump_inode(node);
return 0;