writing to jffs2 is so slow?

Jörn Engel joern at wohnheim.fh-wedel.de
Fri Sep 6 13:48:29 EDT 2002

On Fri, 6 September 2002 10:14:24 -0700, Xiaogeng (Shawn) Jin wrote:
> >Maybe it's possible to do a format command that creates a disk that is
> >empty and prevents the jffs2 code to reformat every block.
> A format command? What command formats MTD devices (my flash is NOR)? 
> Thanks.

Try eraseall from the utils.
With that, jffs2 just writes the erase markers to flash, 12 bytes per
erase block.


Beware of bugs in the above code; I have only proved it correct, but
not tried it.
-- Donald Knuth

More information about the linux-mtd mailing list