[UBIFS] Filesystem capacity
Jamie Lokier
jamie at shareable.org
Mon Feb 16 19:39:22 EST 2009
Adrian Hunter wrote:
> Adam S. Turowski wrote:
> > jffs2:
> > nor: 28361 kB
> > nand: 31200 kB
> >
> > [ubifs]:
> > nor: 26960 kB (I can live with that)
> > nand: 23552 kB (With that I cannot)
>
> It is because the LEB size is relatively small, and UBIFS does not
> fit data into the ends of eraseblocks the way JFFS2 does. Your options
> are:
> 1. use JFFS2
> 2. amend your NAND driver to pretend that eraseblocks are bigger
> than they really are, by treating 2 (or 4 or 8 etc) as one eraseblock
> 3. create another MTD driver that sits on top of the NAND driver
> and does the same as 2
>
> The disadvantage of 2 or 3 is that it also multiples the effective number
> of bad blocks.
Is this a major flaw of UBIFS? I was thinking of using UBIFS for a
project but this makes me wonder if it's a good idea.
What does "UBIFS does not fit data into the ends of eraseblocks the
way JFFS2 does" mean?
Thanks,
-- Jamie
More information about the linux-mtd
mailing list