From 133b1b037739d23bf0d6e985f9f828d7100b527d Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 17 Sep 2013 17:21:20 +0200 Subject: 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 Signed-off-by: Chris Mason --- commands.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'commands.h') 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); -- cgit v1.2.1