[PATCH] cmd: ubi: Add 'ubi list' command for printing list of all UBI volumes
Tom Rini
trini at konsulko.com
Wed Oct 12 21:14:08 CEST 2022
On Mon, Sep 12, 2022 at 11:38:55AM +0200, Pali Rohár wrote:
> To allow easily iterate over all UBI volumes, add a new command which
> either print all user UBI volumes on output or set them into env variable.
>
> As UBI volumes can have arbitrary name/label, in most cases it is useful to
> iterate them by their numbers. This can be achieved by -numeric flag.
>
> This functionality is similar to already existing 'part list' command which
> prints partitions on formatted block device.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221012/10dbe98a/attachment.sig>
More information about the U-Boot
mailing list