diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 10:02:35 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 10:02:35 -0600 |
commit | ba31d3a4a48ca96517db50cdfa7d71b7721c5b55 (patch) | |
tree | 2d698bcf1c1442eed0d90650086284a72afa265e /cmd/btrfs-dump-tree/main.go | |
parent | 32840c8b2314164848c30305315eba6907f4acad (diff) |
more
Diffstat (limited to 'cmd/btrfs-dump-tree/main.go')
-rw-r--r-- | cmd/btrfs-dump-tree/main.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/btrfs-dump-tree/main.go b/cmd/btrfs-dump-tree/main.go index 6a8a7e6..52ee441 100644 --- a/cmd/btrfs-dump-tree/main.go +++ b/cmd/btrfs-dump-tree/main.go @@ -227,8 +227,9 @@ func printTree(fs *btrfs.FS, root btrfs.LogicalAddr) error { // // TODO //case btrfsitem.EXTENT_DATA_KEY: // // TODO - //case btrfsitem.BLOCK_GROUP_ITEM_KEY: - // // TODO + case btrfsitem.BlockGroup: + fmt.Printf("\t\tblock group used %d chunk_objectid %d flags %v\n", + body.Used, body.ChunkObjectID, body.Flags) //case btrfsitem.FREE_SPACE_INFO_KEY: // // TODO //case btrfsitem.FREE_SPACE_EXTENT_KEY: |