summaryrefslogtreecommitdiff
path: root/show-blocks
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-27 10:45:43 +0300
committerDavid Sterba <dsterba@suse.com>2018-04-24 13:00:10 +0200
commitde34a33a8204af9e675e5247c88eb727955beae1 (patch)
treeb7bca071ba82ea3382cbfd388cb978e546bc4d4f /show-blocks
parent6bcb03dda1f92ee50819748edb55c5a99820b1ed (diff)
btrfs-progs: Remove btrfs-debug-tree command
There is already a replacement in the face of btrfs inspect-internal dump-tree. And this command is just a simple wrapper around it. Just remove it and adjust the show-blocks script to call the main btrfs binary to achieve the same effect. Informally deprecated since 4.4. Issue: #97 Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'show-blocks')
-rwxr-xr-xshow-blocks2
1 files changed, 1 insertions, 1 deletions
diff --git a/show-blocks b/show-blocks
index 49e1770e..3876b2ac 100755
--- a/show-blocks
+++ b/show-blocks
@@ -108,7 +108,7 @@ def loaddata(fh,delimiter=None, converters=None):
return X
def run_debug_tree(device):
- p = os.popen('btrfs-debug-tree -e ' + device)
+ p = os.popen('btrfs inspect-internal dump-tree -e ' + device)
data = loaddata(p)
return data