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. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
