* 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:
parent
e700fc1d5c
commit
f02e1e36e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user