Hello, Probably this question has been answered somewhere but, unfortunately, I could not find a simple solution with a working C source... The situation: I have a dump from a MTD partition which contains a YAFFS2 filesystem. Assuming I have no knowledge of neither data block size, nor chunk size, how can I scan the dump file to find a full data directory? Is there a C source doing that? I could find various versions of unyaffs program but it seems they have hardcoded page and spare sizes. None of them could autodetect YAFFS2 filesystem properties, retrieve files/directories from some images of YAFFS2 filesystem, etc. Any idea? Thanks in advance. Serguei.