[PATCH] mkfs.ubifs: use libubi to format UBI volume
Corentin Chary
corentin.chary at gmail.com
Wed May 27 09:19:46 EDT 2009
On Wed, May 27, 2009 at 2:21 PM, Artem Bityutskiy
<dedekind at infradead.org> wrote:
> On Tue, 2009-05-26 at 15:08 +0200, Corentin Chary wrote:
>> libubi is now used to format directly UBI volume.
>> Typing mkfs.ubifs /dev/ubi0_0 is now possible.
>> dtypes should be ok as they are taken from UBIFS code.
>>
>> Signed-off-by: Corentin Chary <corentincj at iksaif.net>
>> ---
>> Makefile | 2 +-
>> mkfs.ubifs/Makefile | 5 +-
>> mkfs.ubifs/lpt.c | 10 ++--
>> mkfs.ubifs/mkfs.ubifs.c | 179 +++++++++++++++++++++++++++++++++++++---------
>> mkfs.ubifs/mkfs.ubifs.h | 4 +-
>> mkfs.ubifs/ubifs.h | 6 ++
>> 6 files changed, 163 insertions(+), 43 deletions(-)
>
> Works fine. Good job, thanks!
>
> It would be 200% cool if you also provided a patch for
> mtd-www and just added a note that the UBIFS image may
> be written directly to the UBI volum, not jut to a file.
>
> I mean here:
> http://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs
>
> :-)
>
> Pushed your patch, thanks!
Ok, I'll do that ASAP, but I believe I won't find the time before next week.
Thanks
--
Corentin Chary
http://xf.iksaif.net - http://uffs.org
More information about the linux-mtd
mailing list