Creating an ext3 partition on an mtd device

Jamie Lokier jamie at shareable.org
Thu Aug 27 04:24:04 EDT 2009


Artem Bityutskiy wrote:
> mtdblock does not do any bad block handling, so you cannot use it with
> NAND. And it does not do any wear-leveling, and it has zero tolerance to
> power cuts.
> 
> I think the text above assumes that you have NOR, you do not care about
> WL and power-cuts.

That's right.  Basically you should only use mtdblock for filesystems
that are mounted read-only, and only written rarely such as
exceptional system updates.  (Not if system updates are often).

Don't even mount the filesystem writable, even if you're not writing
to it most of the time, because just mounting writable wears the flash
and is not safe against power cuts.

-- Jamie



More information about the linux-mtd mailing list