[RFC] Raising the UBI version
Richard Weinberger
richard at nod.at
Wed Jun 22 07:59:50 PDT 2016
Am 22.06.2016 um 16:52 schrieb Boris Brezillon:
> So how about defining the following:
> - /sys/class/ubi/version: user-space ABI version (should always be one)
Yes. To not break libubi.
> - /sys/class/ubi/supported-on-flash-formats: either a bitfield or an
> integer representing the higher on-flash format version supported by
> the implementation (which implies that implementations have to
> support all on-flash formats up-to supported-on-flash-formats)
We can do that. But who will evaluate this file?
> - /sys/class/ubi/supported-features: the features supported by the
> implementation (each bit is a specific feature or a set of features).
> The features may or may not be version dependent.
> - /sys/class/ubi/ubiX/on-flash-format: the on-flash format used on the
> UBIX device
> - /sys/class/ubi/ubiX/features: the features exposed by this UBIX
> device
I think we should make features depend on version = 2.
IOW when we change the UBI format in a major way version will be 3 and
we maybe use something else to expose features.
Thanks,
//richard
More information about the linux-mtd
mailing list