From: Tobias Waldekranz <tobias@waldekranz.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [RFC next 2/2] commands: lvm: inspect VGs, activate LVs
Date: Mon, 31 Aug 2026 10:40:39 +0200 [thread overview]
Message-ID: <87fqzuof7c.fsf@waldekranz.com> (raw)
In-Reply-To: <fe4f0bca-9946-4398-9c05-20c3f63d1fd0@pengutronix.de>
On fre, aug 28, 2026 at 14:20, "Sascha Hauer" <s.hauer@pengutronix.de> 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 <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.
Oh right, I forgot to update that bit. Thanks!
next prev parent reply other threads:[~2026-08-31 8:41 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
2026-08-31 8:40 ` Tobias Waldekranz [this message]
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=87fqzuof7c.fsf@waldekranz.com \
--to=tobias@waldekranz.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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