From a7dae09ae2f64b653ea9c5f928b86a5f98c3b506 Mon Sep 17 00:00:00 2001 From: Alexander Fougner Date: Mon, 22 Feb 2016 15:49:50 +0100 Subject: btrfs-progs: update docs and completion for inspect-internal dump-tree Signed-off-by: Alexander Fougner Signed-off-by: David Sterba --- Documentation/btrfs-debug-tree.asciidoc | 7 +++++++ Documentation/btrfs-inspect-internal.asciidoc | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'Documentation') diff --git a/Documentation/btrfs-debug-tree.asciidoc b/Documentation/btrfs-debug-tree.asciidoc index 23fc1156..6d6d8848 100644 --- a/Documentation/btrfs-debug-tree.asciidoc +++ b/Documentation/btrfs-debug-tree.asciidoc @@ -25,8 +25,15 @@ Print detailed extents info. 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 :: Print info of the specified block only. +-t :: +Print only the tree with the specified ID. + EXIT STATUS ----------- diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc index 1c7c3611..73c834cb 100644 --- a/Documentation/btrfs-inspect-internal.asciidoc +++ b/Documentation/btrfs-inspect-internal.asciidoc @@ -19,6 +19,31 @@ requires calls to privileged ioctls. SUBCOMMAND ---------- +*dump-tree* [options] :: +(needs root privileges) ++ +Dump the whole tree of the given device. +This is useful for analyzing filesystem state or inconsistence and has +a positive educational effect on understanding the internal structure. + 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 :::: +Print info of the specified block only. +-t :::: +Print only the tree with the specified ID. + *inode-resolve* [-v] :: (needs root privileges) + -- cgit v1.2.3