On fre, aug 28, 2026 at 14:20, "Sascha Hauer" <[email protected]> wrote: > On 2026-08-24 18:31, Tobias Waldekranz wrote: >> Provide the most rudimentary commands needed to inspect and activate >> volume groups (VGs) and logical volumes (LVs). >> >> Signed-off-by: Tobias Waldekranz <[email protected]> >> --- >> commands/Kconfig | 11 ++ >> commands/Makefile | 1 + >> commands/lvm.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++ >> 3 files changed, 276 insertions(+) >> create mode 100644 commands/lvm.c >> >> diff --git a/commands/Kconfig b/commands/Kconfig >> index 08fe544ee1..d7e3bab3f9 100644 >> --- a/commands/Kconfig >> +++ b/commands/Kconfig >> @@ -808,6 +808,17 @@ config CMD_VERITYSETUP >> commands: >> open <data-dev> <name> <hash-dev> <root-hash> >> >> +config CMD_LVM >> + tristate >> + depends on DM_LVM >> + prompt "lvm" >> + help >> + lvm - inspect and activate LVM2 logical volumes >> + >> + commands: >> + pvs / vgs / lvs >> + activate <vg>/<lv> [<name>] > > This is not consistent with the implementation which has "info" and > "activate" as subcommands.
Oh right, I forgot to update that bit. Thanks!
