Re: mtdutils and libubiio

Artem Bityutskiy
2009-05-07T05:58:08Z

On Wed, 2009-05-06 at 14:22 +0200, Corentin Chary wrote:
> Hi,
> You'll find here some experiments:
> http://git.iksaif.net/?p=users/iksaif/mtd-utils.git;a=summary
>
> Before working on mkfs.ubifs I wanted to cleanup the mtd-utils dir, so
> I tried some change,
> including the use of CMake. As a lot of people here don't want to hear
> about CMake, if the patchs
> for mkfs are good enought, I'll rebase them on a vanilla version of mtd-utils.

I have a pile of patches in my tree as well. I wait for dwmw2 to send
my "export subpage via sysfs" patch to Linus, and after this I'll
push my changes. They basically make libmtd use sysfs interface, but
there are some random minor libubi changes and fixes. I'll try to
push this ASAP.

Vs CMake. I do not know. I'm not very good in this at all. Mike kind
of maintains the build system in the mtd-utils, and he lately improved
it. So if you may convince him, probably. But the thing is that not
many people care about mtd-utils, and if you introduce CMake and then
disappear - who is going to maintain that ?

I personally think that if Makefile can do the same stuff, there is
no reason to change/add new build system only because it is fewer lines
in CMake.

> What you'll find here:
> - CMake "experiment" with dependencies check on zlib and libacl
> - libubiio, provinding the same API the kernel does
> - mkfs.ubifs using libubiio, can write the image directly on an ubi volume

Would you please send patches. It is so much more convenient to
people? Teaching mkfs.ubifs write directly into the volume sounds
nice, BTW.

--
Best regards,
Artem Bityutskiy (Битюцкий Артём)