summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-05-11 22:40:03 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-05-11 22:40:03 -0600
commit490cffb1f4ee99b013302cfed9ef849c0676735c (patch)
tree3088310c2fa18cbb3c91090a2dd881c8d0b6580d /cmd
parentf39ce9ac2e5364a4966b3b88c00ecaee5cfd2111 (diff)
scan for nodes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/btrfs-dbg/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/btrfs-dbg/main.go b/cmd/btrfs-dbg/main.go
index 9a87f10..6d60a73 100644
--- a/cmd/btrfs-dbg/main.go
+++ b/cmd/btrfs-dbg/main.go
@@ -55,5 +55,9 @@ func Main(imgfilename string) (err error) {
}
spew.Dump(syschunks)
+ if err := img.ScanForNodes(superblocks[0].Data); err != nil {
+ return err
+ }
+
return nil
}