Re: JFFS2 uncompressed?

Jörn Engel
2003-04-08T14:19:50Z

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