How do I know my UBI/UBIFS code version?

Richard Weinberger richard at nod.at
Fri Oct 10 11:41:52 PDT 2014


Am 10.10.2014 um 20:38 schrieb Woody Wu:
> 
> 
> On October 10, 2014 11:28:26 PM GMT+08:00, Richard Weinberger <richard.weinberger at gmail.com> wrote:
>> On Fri, Oct 10, 2014 at 4:57 PM, Woody Wu <narkewoody at gmail.com> wrote:
>>> I am running ubi/ubifs on a ported ARM linux 3.1.x.  How do I get
>> know my ubi/ubifs version? In additional, if I found the version are
>> too old, could I simply copy a newer version source files to my 3.1 ARM
>> linux tree?
>>
>> Ported in terms of utterly broken by a SoC vendor? ;-)
>> If your kernel version is v3.1 then also UBI and UBIFS is v3.1 unless
>> someone messed with it.
>> To find out you need to consult the changelog.
>>
>> And no, you cannot simply copy&paste the sources files between kernel
>> releases as the internal kernel API is
>> a moving target.
> 
> 'ubinfo -a' returns to me "UBI version: 1" in its first line output.  Does it looks strange to you?  Thanks.

This version is always 1.
If we consider UBI Fastmap at some point rock stable _and_ make it default we'll change this version maybe to 2.

Thanks,
//richard



More information about the linux-mtd mailing list