how to view mapping between a given ubifs volume, its set of LEBs, and its corresponding set of PEBS
Richard Weinberger
richard.weinberger at gmail.com
Thu Apr 21 03:07:04 PDT 2016
On Thu, Apr 21, 2016 at 4:13 AM, Davis Roman <davis.roman84 at gmail.com> wrote:
> Hello all,
>
> I'm trying to understand the mapping between a ubifs volume and the
UBIFS does not have volumes. UBI does.
> set of LEBs that get mapped to it.
>
> More so, I'd like to also understand the mapping between a given LEB
> and its designated PEB.
>
> Although the mapping between LEBs and PEBs can change during runtime,
> I figure that there should be a way to see this mapping via the
> command line.
>
> Does such a method exist ?
No, the mappings are internals and change also often.
But with a few lines of C you can add a debugfs file to print the corresponding
EBA table of an volume.
That way you can learn the mappings.
--
Thanks,
//richard
More information about the linux-mtd
mailing list