dtree subcommand

The dtree subcommand displays the Enhanced Journaled File System (JFS2) d-tree structure and allows the user to walk the dtree structure.

Format

dtree address

Parameters

Item Description
address Specifies the address of the d-tree structure.

The dtree subcommand contains its own subcommands that allow the user to walk the d-tree.

Subcommand
Function
f
Walks freelist entries.
s
Displays the specified slot entry.
t
Displays the formatted stbl structure.
u
Visits the parent node (but not the parent directory).
c
Visits the child node.
x
Exits subcommand mode.

Other

dt

Examples

The following is an example of how to use the dt alias for the dtree subcommand:

KDB(0)> dt 0x325E1248
Internal D-tree page: 
flag.........0x85
flag_name....BT_ROOT  BT_INTERNAL  
freecnt......7
Actual Free Count: 7
nextindex....1
freelist.....2
self.len.....0x010203
maxslot......0
stblindex....0
self.addr1...0x04
self.addr2...0x05060708
next.........0x2
prev.........0x0

dtree: [n]ext, [f]reelist, [s]lot, s[t]bl, or e[x]it >