Good morning all,

 

There seems to be a backward compatibility problem with YAFFS2

 

We have:

·         a former version of our instruments (Linux 2.6.16, YAFFS2 from Apr 08th, 2006);

·         and a new version (Linux 2.6.25.7, with latest YAFFS2 version).

 

When we are writing a large YAFFS2 partition on a NAND flash (572 Mega bytes), the new YAFFS2 goes for wide t_nodes to optimize the accesses to that partition, which is fine to me. Trouble is: when the partition was first written by the older version with 16-bits wide t_nodes, the new YAFFS2 cannot read again the partition written by the old YAFFS2.

 

I tried to select the menuconfig option “Disable wide t_nodes” in YAFFS2 sub-menu, but to no avail. The partition written by the old YAFFS2 seems to be accessible from time to time, randomly; but most of the times, the new YAFFS2 cannot read at all the directories and files written by the old one (and the partition seems to contain only “lost+found”). If I re-install the older versions though, I can see again that all my files are still there…

 

So my question is: do you know of a way to make the file system backward compatible?

 

Thanks for your reading, and thank you very much in advance for your help.

 

Best wishes,

 

Jean-Loup