Re: [PATCH]fs/jffs2/wbuf.c: add compatibility support for OOB data block

Ferenc Havasi
2005-08-15T13:27:51Z

Artem B. Bityuckiy wrote:

>> It is not too relevant problem without summary. For example if the
>> erase block size is 32K, and the virtual is 64K, and you generates
>> JFFS2 image for 32K it will work (maybe with some warning but will
>> work). If you generates summary for that image for 32K and use it on
>> 64K virtual erase block size that will not work.
>
> I think, this is better if you solve this inconsistency in general.
>
I agree. We should find out how.

> And by the way, I don't understand, why do you need sumtool and
> sumtool2? Is sumtool3 coming ?
>
It is an old stuff. Sumtool was the part of JFFS3, and sumtool2 was an
additional stuff for JFFS2. Now, we will delete sumtool, and rename
sumtool2 to sumtool.

> Why not to merge sumtoolX with mkfs.jffs2 and add more options?

We did not wanted to make the code of mkfs.jffs2 more complex. I think
it is cleaner to do it in a seperate tool.

Ferenc