summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-03-10 16:51:53 +0100
committerDavid Sterba <dsterba@suse.com>2016-03-14 13:42:47 +0100
commit83ad1dcbb09d68e11a7338b066571080e9264755 (patch)
tree6f337522ed8146ec05d6c91ac2f7d0058a30944d
parent69874af7b81519e40db9d92efa6beebee4220c63 (diff)
btrfs-progs: remove btrfs-debug-tree manual page and point to inspect-internal
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--Documentation/Makefile.in2
-rw-r--r--Documentation/btrfs-debug-tree.asciidoc45
-rw-r--r--Documentation/btrfs-inspect-internal.asciidoc5
3 files changed, 3 insertions, 49 deletions
diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in
index f046abd5..c1456b5c 100644
--- a/Documentation/Makefile.in
+++ b/Documentation/Makefile.in
@@ -4,7 +4,6 @@ MAN8_TXT =
# Top level commands
MAN8_TXT += btrfs.asciidoc
MAN8_TXT += btrfs-convert.asciidoc
-MAN8_TXT += btrfs-debug-tree.asciidoc
MAN8_TXT += btrfs-find-root.asciidoc
MAN8_TXT += btrfs-image.asciidoc
MAN8_TXT += btrfs-map-logical.asciidoc
@@ -96,6 +95,7 @@ install-man: man
$(INSTALL) -m 644 $(GZ_MAN8) $(DESTDIR)$(man8dir)
$(LN_S) -f btrfs-check.8.gz $(DESTDIR)$(man8dir)/btrfsck.8.gz
$(LN_S) -f btrfs-rescue.8.gz $(DESTDIR)$(man8dir)/btrfs-zero-log.8.gz
+ $(LN_S) -f btrfs-inspect-internal.8.gz $(DESTDIR)$(man8dir)/btrfs-debug-tree.8.gz
uninstall:
cd $(DESTDIR)$(man8dir); rm -f btrfs-check.8.gz $(GZ_MAN8)
diff --git a/Documentation/btrfs-debug-tree.asciidoc b/Documentation/btrfs-debug-tree.asciidoc
deleted file mode 100644
index 6d6d8848..00000000
--- a/Documentation/btrfs-debug-tree.asciidoc
+++ /dev/null
@@ -1,45 +0,0 @@
-btrfs-debug-tree(8)
-===================
-
-NAME
-----
-btrfs-debug-tree - dump btrfs filesystem metadata into stdout
-
-SYNOPSIS
---------
-*btrfs-debug-tree* [options] <device>
-
-DESCRIPTION
------------
-*btrfs-debug-tree* is used to dump the whole tree of the given device.
-
-This is maybe useful for analyzing filesystem state or inconsistence and has
-a positive educational effect on understanding the internal structure.
-<device> is the device file where the filesystem is stored.
-
-OPTIONS
--------
--e::
-Print detailed extents info.
--d::
-Print info of btrfs device and root tree dirs only.
--r::
-Print info of roots only.
--R::
-Print info of roots and root backups.
--u::
-Print info of UUID tree only.
--b <block_num>::
-Print info of the specified block only.
--t <tree_id>::
-Print only the tree with the specified ID.
-
-
-EXIT STATUS
------------
-*btrfs-debug-tree* will return 0 if no error happened.
-If any problems happened, 1 will be returned.
-
-SEE ALSO
---------
-`mkfs.btrfs`(8)
diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc
index d71b10a8..aa791506 100644
--- a/Documentation/btrfs-inspect-internal.asciidoc
+++ b/Documentation/btrfs-inspect-internal.asciidoc
@@ -20,7 +20,7 @@ requires calls to privileged ioctls.
SUBCOMMAND
----------
*dump-tree* [options] <device>::
-(may need root privileges to access the device)
+(replaces the standalone tool *btrfs-debug-tree*)
+
Dump tree structures from a given device in textual form, expand keys to human
readable equivalents where possible.
@@ -154,5 +154,4 @@ further details.
SEE ALSO
--------
-`mkfs.btrfs`(8),
-`btrfs-debug-tree`(8)
+`mkfs.btrfs`(8)