On Fri, 25 Sep 2026 10:54:22 +0000, Tobias Waldekranz wrote:
> This series adds basic support for accessing LVM logical volumes.
>
> Example session:
>
> wkz@spa:~/src/github.com/barebox/barebox$ ./barebox -i
> disk0=infix-x86_64.disk,blkdev
> [...]
> barebox@Sandbox:/ lvm info
> VG "internal":
> UUID: sN8htx-oD18-wHWH-SuCU-1EWy-th1l-5WPU6j
> SeqNum: 1
> Size: 132 MiB (1 MiB extents)
> #PV: 1
> #LV: 1
> PV disk0.2:
> UUID: 6VHjVF-WVt7-Gk4Y-oTrK-lsgY-ve7N-GJ0CUn
> Size: 134 MiB
> LV "infix-x86_64.raw":
> UUID: Xp76Ig-9XXj-aBfK-Xv2U-rbsY-nEWX-omt4Bo
> Type: linear
> Size: 132 MiB
> barebox@Sandbox:/ lvm activate internal infix-x86_64.raw
> [GPT warnings...]
> Created internal-infix-x86_64.raw
> barebox@Sandbox:/ ls /mnt/internal-infix-x86_64.raw.0/
> mounted /dev/internal-infix-x86_64.raw.0 on
> /mnt/internal-infix-x86_64.raw.0
> bin boot cfg config dev etc home
> lib lib64 loader log media mnt opt
> proc root run sbin srv sys tmp
> usr var
> barebox@Sandbox:/
>
> [...]
Applied, thanks!
[1/5] dm: lvm: Initial Logical Volume Management support
https://git.pengutronix.de/cgit/barebox/commit/?id=22c2baac6396 (link may
not be stable)
[2/5] dm: lvm: Add fuzz testers for metadata parser and binary headers
https://git.pengutronix.de/cgit/barebox/commit/?id=fad8dbd73014 (link may
not be stable)
[3/5] test: self: lvm: Add tests for metadata parser and binary headers
https://git.pengutronix.de/cgit/barebox/commit/?id=1a7b015fd6b4 (link may
not be stable)
[4/5] commands: lvm: inspect VGs, activate LVs
https://git.pengutronix.de/cgit/barebox/commit/?id=0aebdf94bcfc (link may
not be stable)
[5/5] test: py: lvm: Add basic LV activation test
https://git.pengutronix.de/cgit/barebox/commit/?id=cf82822866f5 (link may
not be stable)
Best regards,
--
Sascha Hauer <[email protected]>