[PATCH] mkfs.ubifs: use libubi to format UBI volume

Artem Bityutskiy dedekind at infradead.org
Wed May 27 08:21:52 EDT 2009


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!

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




More information about the linux-mtd mailing list