* 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:
@@ -288,8 +288,17 @@ dump_inode(int argc, char** argv)
|
|||||||
bfs_inode* node;
|
bfs_inode* node;
|
||||||
if (block)
|
if (block)
|
||||||
node = (bfs_inode*)address;
|
node = (bfs_inode*)address;
|
||||||
else
|
else {
|
||||||
node = &((Inode*)address)->Node();
|
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);
|
dump_inode(node);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user