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

Artem Bityutskiy dedekind at infradead.org
Tue Jun 2 05:26:16 EDT 2009


On Wed, 2009-05-27 at 15:19 +0200, Corentin Chary wrote:
> 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

I just updated the web site and added a note that mkfs.ubifs can write
straight to UBI volumes.

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




More information about the linux-mtd mailing list