Re; MTD (2) Block Driver broken

Gareth Bult gareth at
Sat Mar 5 12:26:09 EST 2005


A little while back I re-wrote blkmtd.c effectively to provide proper
"write" access to jffs2 filesystems mounted on standard Linux block

The driver seems to have worked well (for me) and after many thousands
of downloads of FlashLinux, I've not had any reports of JFFS2 problems
or corruption.

It appears that someone has "cleaned up" this driver and it now appears
as an option in the standard kernel tree for 2.6.11.

Unfortunately it doesn't appear to work. As soon as you mount a JFFS2
filesystem on it and try to write data, corruption sets in resulting is
a fairly sharp system crash.

Copying back the source from the original driver I submitted to this
list and recompiling the kernel (with a one line change) appears to
yield a working system again.

So, two questions;
a.	Did anyone actually test the code after cleaning it up?
b.	Were there any life changing improvements that I really
	*need* to make to the original code?


Gareth Bult <gareth at>

More information about the linux-mtd mailing list