libubiio : userspace UBI input output library

Corentin Chary corentin.chary at
Tue Mar 3 02:48:22 EST 2009

On Tue, Mar 3, 2009 at 7:38 AM, Artem Bityutskiy <dedekind at> wrote:
> On Sun, 2009-03-01 at 15:45 +0100, Sidney Amani wrote:
>> Hi list,
>> UBIIO library is an user-space library which exports same functions in
>> UBI Linux kernel module.
>> It provides exactly the same API as the kernel does, that way kernel
>> code can be used in user-space without any change.
>> The code is widely inspired with libubi source code.
>> Documentation can be found at
>> It is obviously the same as UBI kernel API, but there is actually few
>> differences in return values.
>> The code can be found at
>> We would like to know if you are interested in it and want to include
>> it in mtdutils.
> Hi, I guess this is useful. Just wonder, if you are targeted to
> mtd-utils, why not to develop in there from the very beginning? Use
> similar coding style, clean-up current code if needed, etc?

We first made that lib for us. And as it can be considered as "usable" (wich is
not the case for the rest of the project) we posted it there.
If you think it can be merged in mtd-utils, we'll take some time for
the coding style
and cleanups... I wanted to do that before, but didn't had a lot of
time to do so.
Which part of mtd-utils could use this lib ? maybe mkfs.ubifs ?

Corentin Chary

More information about the linux-mtd mailing list