2013-06-27 05:42:39 +04:00
|
|
|
/*
|
2016-03-12 09:18:42 +03:00
|
|
|
* Author: Kent Overstreet <kent.overstreet@gmail.com>
|
2013-06-27 05:42:39 +04:00
|
|
|
*
|
|
|
|
* GPLv2
|
|
|
|
*/
|
|
|
|
|
2017-02-02 06:16:42 +03:00
|
|
|
#ifndef _CMDS_H
|
|
|
|
#define _CMDS_H
|
2010-10-08 18:04:49 +04:00
|
|
|
|
2017-01-08 12:13:18 +03:00
|
|
|
#include "tools-util.h"
|
2015-01-15 12:33:48 +03:00
|
|
|
|
2016-08-24 06:50:31 +03:00
|
|
|
int cmd_format(int argc, char *argv[]);
|
2017-03-12 17:53:43 +03:00
|
|
|
int cmd_show_super(int argc, char *argv[]);
|
2016-08-24 06:50:31 +03:00
|
|
|
|
2018-05-17 08:38:57 +03:00
|
|
|
#if 0
|
2016-08-24 06:50:31 +03:00
|
|
|
int cmd_assemble(int argc, char *argv[]);
|
|
|
|
int cmd_incremental(int argc, char *argv[]);
|
|
|
|
int cmd_run(int argc, char *argv[]);
|
|
|
|
int cmd_stop(int argc, char *argv[]);
|
2018-05-17 08:38:57 +03:00
|
|
|
#endif
|
2016-08-24 06:50:31 +03:00
|
|
|
|
2017-12-23 08:50:55 +03:00
|
|
|
int cmd_fs_usage(int argc, char *argv[]);
|
2016-08-24 06:50:31 +03:00
|
|
|
|
|
|
|
int cmd_device_add(int argc, char *argv[]);
|
|
|
|
int cmd_device_remove(int argc, char *argv[]);
|
2017-03-12 17:53:43 +03:00
|
|
|
int cmd_device_online(int argc, char *argv[]);
|
|
|
|
int cmd_device_offline(int argc, char *argv[]);
|
|
|
|
int cmd_device_evacuate(int argc, char *argv[]);
|
|
|
|
int cmd_device_set_state(int argc, char *argv[]);
|
2017-12-28 09:01:16 +03:00
|
|
|
int cmd_device_resize(int argc, char *argv[]);
|
2016-08-24 06:50:31 +03:00
|
|
|
|
2018-02-08 23:30:19 +03:00
|
|
|
int cmd_data_rereplicate(int argc, char *argv[]);
|
|
|
|
|
2017-11-09 04:03:59 +03:00
|
|
|
int cmd_unlock(int argc, char *argv[]);
|
|
|
|
int cmd_set_passphrase(int argc, char *argv[]);
|
|
|
|
int cmd_remove_passphrase(int argc, char *argv[]);
|
|
|
|
|
2017-01-08 12:13:18 +03:00
|
|
|
int cmd_fsck(int argc, char *argv[]);
|
|
|
|
|
2017-02-03 09:45:08 +03:00
|
|
|
int cmd_dump(int argc, char *argv[]);
|
|
|
|
int cmd_list(int argc, char *argv[]);
|
|
|
|
|
2017-03-01 13:45:15 +03:00
|
|
|
int cmd_migrate(int argc, char *argv[]);
|
|
|
|
int cmd_migrate_superblock(int argc, char *argv[]);
|
|
|
|
|
2018-02-14 12:28:24 +03:00
|
|
|
int cmd_version(int argc, char *argv[]);
|
|
|
|
|
2018-12-19 23:41:47 +03:00
|
|
|
int cmd_setattr(int argc, char *argv[]);
|
|
|
|
|
2019-10-01 21:06:58 +03:00
|
|
|
int cmd_fusemount(int argc, char *argv[]);
|
|
|
|
|
2017-02-02 06:16:42 +03:00
|
|
|
#endif /* _CMDS_H */
|