From: "Sascha Hauer" <s.hauer@pengutronix.de>
To: "Tobias Waldekranz" <tobias@waldekranz.com>
Cc: barebox@lists.infradead.org
Subject: Re: [RFC next 2/2] commands: lvm: inspect VGs, activate LVs
Date: Fri, 28 Aug 2026 14:20:50 +0000 [thread overview]
Message-ID: <fe4f0bca-9946-4398-9c05-20c3f63d1fd0@pengutronix.de> (raw)
In-Reply-To: <20260824183203.3759144-3-tobias@waldekranz.com>
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 <tobias@waldekranz.com>
> ---
> 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 |
next prev parent reply other threads:[~2026-08-28 14:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 18:31 [RFC next 0/2] dm: lvm: Initial Logical Volume Management support Tobias Waldekranz
2026-08-24 18:31 ` [RFC next 1/2] " Tobias Waldekranz
2026-08-28 14:19 ` Sascha Hauer
2026-08-31 8:39 ` Tobias Waldekranz
2026-08-24 18:31 ` [RFC next 2/2] commands: lvm: inspect VGs, activate LVs Tobias Waldekranz
2026-08-28 14:20 ` Sascha Hauer [this message]
2026-08-31 8:40 ` Tobias Waldekranz
2026-08-28 14:10 ` [RFC next 0/2] dm: lvm: Initial Logical Volume Management support Sascha Hauer
2026-08-31 8:37 ` Tobias Waldekranz
2026-08-31 9:11 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fe4f0bca-9946-4398-9c05-20c3f63d1fd0@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=tobias@waldekranz.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox