diff options
author | Alasdair G Kergon <agk@redhat.com> | 2017-03-16 01:09:29 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2017-03-16 01:09:29 +0000 |
commit | 4f8651984531371f73c7bed0271c7dde8afb6c19 (patch) | |
tree | 9b8db890b025482484a19e63138d5b2de989a27b /tools/stub.h | |
parent | 9729fc4f8c62ade44f2adb3dadf7904a19b3709f (diff) | |
download | lvm2-4f8651984531371f73c7bed0271c7dde8afb6c19.tar.gz |
lvmchange: Move to a built-in command.
Has been obsolete since LVM1 and it's clear we'll never implement this.
Diffstat (limited to 'tools/stub.h')
-rw-r--r-- | tools/stub.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/stub.h b/tools/stub.h index 5b2d137b7..f94106705 100644 --- a/tools/stub.h +++ b/tools/stub.h @@ -41,3 +41,11 @@ int pvdata(struct cmd_context *cmd __attribute__((unused)), return ECMD_FAILED; } +int lvmchange(struct cmd_context *cmd __attribute__((unused)), + int argc __attribute__((unused)), + char **argv __attribute__((unused))) +{ + log_error("There's no 'lvmchange' command in LVM2."); + log_error("Use 'dmsetup' commands to reset the kernel device-mapper driver."); + return ECMD_FAILED; +} |