[Yaffs] Scanning yaffs2

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Serguei Miridonov
Date:  
To: yaffs
Subject: [Yaffs] Scanning yaffs2
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.