From 029b2433eb37f275718fe55d819a46244d738eaf Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 15 Mar 2016 16:44:55 +0100 Subject: btrfs-progs: docs: rename and move dump-super The command name is 'dump-super', move the section to it's alphabetical order. Signed-off-by: David Sterba --- Documentation/btrfs-inspect-internal.asciidoc | 72 +++++++++++++-------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'Documentation') diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc index fe247f5c..fae6ed6f 100644 --- a/Documentation/btrfs-inspect-internal.asciidoc +++ b/Documentation/btrfs-inspect-internal.asciidoc @@ -19,6 +19,42 @@ requires calls to privileged ioctls. SUBCOMMAND ---------- +*dump-super* [options] [device...]:: +(needs root privileges) ++ +Show btrfs superblock information stored in devices. +It is used to print the information of superblock, +you can specify which mirror to print out. ++ +By default, every device's first superblock will be printed out. ++ +Mainly used for debug purpose. ++ +`Options` ++ +-f:::: +Print full superblock information. ++ +Including the system chunk array and backup roots. ++ +-a:::: +Print information of all superblocks. ++ +If this option is given, '-i' option will be ignored. ++ +-i :::: +Specify which mirror to print out. ++ + is between 0 and 2. +If several '-i ' are given, only the last one is valid. ++ +-F:::: +Attempt to print the superblock even if no superblock magic is found. May end +badly. +-s :::: +specify offset to a superblock in a non-standard location at 'bytenr', useful +for debugging (disables the '-f' option) + *dump-tree* [options] :: (replaces the standalone tool *btrfs-debug-tree*) + @@ -100,42 +136,6 @@ subvolume itself return it's own tree id (ie. subvol id) NOTE: The result is undefined for the so-called empty subvolumes (identified by inode number 2), but such subvolume does not contain any files anyway -*show-super* [options] [device...]:: -(needs root privileges) -+ -Show btrfs superblock information stored in devices. -It is used to print the information of superblock, -you can specify which mirror to print out. -+ -By default, every device's first superblock will be printed out. -+ -Mainly used for debug purpose. -+ -`Options` -+ --f:::: -Print full superblock information. -+ -Including the system chunk array and backup roots. -+ --a:::: -Print information of all superblocks. -+ -If this option is given, '-i' option will be ignored. -+ --i :::: -Specify which mirror to print out. -+ - is between 0 and 2. -If several '-i ' are given, only the last one is valid. -+ --F:::: -Attempt to print the superblock even if no superblock magic is found. May end -badly. --s :::: -specify offset to a superblock in a non-standard location at 'bytenr', useful -for debugging (disables the '-f' option) - *subvolid-resolve* :: (needs root privileges) + -- cgit v1.2.3