JFFS2 uncompressed?

Jörn Engel joern at wohnheim.fh-wedel.de
Tue Apr 8 10:19:52 EDT 2003


On Tue, 8 April 2003 15:59:35 +0200, Steven Scholz wrote:
> 
> IIRC files are stored compressed on a JFFS2 partition.
> 
> Is there any chance that I could use JFFS2 without any compression?
> 
> I guess this might me faster for our embedded system!

Piece of cake.
Look at fs/jffs2/compr.c, first function. Add a couple of #if 0 and
you're done.

Do the same with the second function and the kernel image should
shrink a little.

Jörn

-- 
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