how to view mapping between a given ubifs volume, its set of LEBs, and its corresponding set of PEBS

Artem Bityutskiy dedekind1 at gmail.com
Thu Apr 21 03:50:49 PDT 2016


On Wed, 2016-04-20 at 22:13 -0400, Davis Roman wrote:
> Hello all,
> 
> I'm trying to understand the mapping between a ubifs volume and the
> 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 ?
> 
> I've looked high and low though the mtd tools and I haven't been able
> to find a way to do this.

Technically it is easy to create an ioctl returning this information.
You can just do it for your research purposes. But if you want this
upstream, you should also provide a plausible use-case for this kind of
ioctl.

Artem.



More information about the linux-mtd mailing list