On 2019/1/23 上午7:41, Matthew Friday wrote: > Hi all, > > I recently started learning BTRFS internals, and one think that I > cannot find is filesystem debugger to browse on disk data structures > (like xfs_db or ext debugfs). You need "btrfs inspect dump-tree" and "btrfs inspect dump-super" > Do BTRFS provide similar way to navigate on disk structures? I can see > the btrfs-debug-tree utility which provide whole tree of the > informations, is this something that can be then perhaps parsed in > easy way to view the internal structures? It's already all the internal structures. Unlike other fs, btrfs uses a generic way to organize all its info, as btrfs btree. So dump tree provides everything you need, from inode and dentry info to all internal data like allocation and csum data. Thanks, Qu > > Many Thanks > Matt >