path: root/Documentation/btrfs-show-super.txt
diff options
Diffstat (limited to 'Documentation/btrfs-show-super.txt')
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/btrfs-show-super.txt b/Documentation/btrfs-show-super.txt
new file mode 100644
index 00000000..e8e17abc
--- /dev/null
+++ b/Documentation/btrfs-show-super.txt
@@ -0,0 +1,53 @@
+btrfs-show-super - show btrfs superblock information stored in devices
+'btrfs-show-super' [options] <dev> [<dev>...]
+'btrfs-show-super' 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.
+Print all the superblock information.
+If this option is given, '-i' option will be ignored.
+-i <super_mirror>::
+Specify which mirror to print out.
+<super_mirror> is between 0 and 2.
+If several '-i <super_mirror>' are given, only the last one is valid.
+'btrfs-show-super' will return 0 if no error happened.
+If any problems happened, 1 will be returned.
+Written by Shilong Wang and Wenruo Qu.
+Copyright (C) 2013 FUJITSU LIMITED.
+License GPLv2: GNU GPL version 2 <>.
+This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.