summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-09-17 17:21:20 +0200
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:21:36 -0400
commit133b1b037739d23bf0d6e985f9f828d7100b527d (patch)
treeee73653f3831d2d65a71d2c052c212b0ede0e92a /commands.h
parent992fd231807d123bb8d39a26579aa2440fd57f4c (diff)
downloadbtrfs-progs-133b1b037739d23bf0d6e985f9f828d7100b527d.tar.gz
btrfs-progs: introduce rescue command group
Add an empty 1st level command namespace that will collect specialized recovery tools like chunk-recover, zero-log, select-super and similar. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index 2e95386..87d6d7e 100644
--- a/commands.h
+++ b/commands.h
@@ -90,12 +90,14 @@ extern const struct cmd_group inspect_cmd_group;
extern const struct cmd_group quota_cmd_group;
extern const struct cmd_group qgroup_cmd_group;
extern const struct cmd_group replace_cmd_group;
+extern const struct cmd_group rescue_cmd_group;
extern const char * const cmd_send_usage[];
extern const char * const cmd_receive_usage[];
extern const char * const cmd_check_usage[];
extern const char * const cmd_chunk_recover_usage[];
extern const char * const cmd_restore_usage[];
+extern const char * const cmd_rescue_usage[];
int cmd_subvolume(int argc, char **argv);
int cmd_filesystem(int argc, char **argv);
@@ -114,6 +116,7 @@ int cmd_restore(int argc, char **argv);
int cmd_select_super(int argc, char **argv);
int cmd_dump_super(int argc, char **argv);
int cmd_debug_tree(int argc, char **argv);
+int cmd_rescue(int argc, char **argv);
/* subvolume exported functions */
int test_issubvolume(char *path);