[RFC] Raising the UBI version
Richard Weinberger
richard at nod.at
Wed Jun 22 07:05:17 PDT 2016
Am 22.06.2016 um 16:01 schrieb Boris Brezillon:
> On Wed, 22 Jun 2016 15:54:34 +0200
> Richard Weinberger <richard at nod.at> wrote:
>
>> Am 22.06.2016 um 14:43 schrieb Boris Brezillon:
>>> Why do we need to hardcode /sys/class/ubi/version to 1? We just need to
>>> update the mtd-utils to support version 2. Am I missing something?
>>
>> We don't want to break existing userspace.
>> Why should ubimkvol or ubiattach fail on a system with SLC NAND and
>> CONFIG_MTD_UBI_CONSOLIDATE=y?
>
> But version won't be set to 2 in this case. If it's an SLC NAND we
> don't need to use UBI version 2, do we.
/sys/class/ubi/version is the version of the UBI implementation,
not the version of the attached UBI image.
It will the here as soon you load the UBI module.
Thanks,
//richard
More information about the linux-mtd
mailing list