mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
lvmsar/lvmsadc: Mention dmstats when run.
This commit is contained in:
parent
4f86519845
commit
1cdaa8144d
13
tools/stub.h
13
tools/stub.h
@ -13,22 +13,29 @@
|
|||||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
#define unimplemented \
|
#define unimplemented \
|
||||||
log_error("Command not implemented yet."); return ECMD_FAILED
|
log_error("Command not implemented yet."); return ECMD_FAILED
|
||||||
|
|
||||||
/*int e2fsadm(struct cmd_context *cmd, int argc, char **argv) unimplemented*/
|
int e2fsadm(struct cmd_context *cmd, int argc, char **argv) unimplemented
|
||||||
|
*/
|
||||||
|
|
||||||
int lvmsadc(struct cmd_context *cmd __attribute__((unused)),
|
int lvmsadc(struct cmd_context *cmd __attribute__((unused)),
|
||||||
int argc __attribute__((unused)),
|
int argc __attribute__((unused)),
|
||||||
char **argv __attribute__((unused)))
|
char **argv __attribute__((unused)))
|
||||||
{
|
{
|
||||||
unimplemented;
|
log_error("There's no 'lvmsadc' command in LVM2.");
|
||||||
|
log_error("Please use the superior 'dmstats' facilities instead.");
|
||||||
|
return ECMD_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
int lvmsar(struct cmd_context *cmd __attribute__((unused)),
|
int lvmsar(struct cmd_context *cmd __attribute__((unused)),
|
||||||
int argc __attribute__((unused)),
|
int argc __attribute__((unused)),
|
||||||
char **argv __attribute__((unused)))
|
char **argv __attribute__((unused)))
|
||||||
{
|
{
|
||||||
unimplemented;
|
log_error("There's no 'lvmsar' command in LVM2.");
|
||||||
|
log_error("Please use the superior 'dmstats' facilities instead.");
|
||||||
|
return ECMD_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pvdata(struct cmd_context *cmd __attribute__((unused)),
|
int pvdata(struct cmd_context *cmd __attribute__((unused)),
|
||||||
|
Loading…
Reference in New Issue
Block a user