[Yaffs] Extract directory content from yaffs2 image?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dirk Behme
Date:  
To: yaffs
Subject: [Yaffs] Extract directory content from yaffs2 image?
Hi,

I have a yaffs2 image on (Linux host) PC and like to extract the
directory content of it. If I understand it correctly this is the
reverse of what mkyaffs2image is doing. Or something similiar what

http://wiki.buici.com/wiki/Mounting_JFFS2_Filesystem_in_RAM

describes for JFFS2.

Any hint for this?

Seems that mkyaffs2image can't extract the files it writes itself. And
above method with mtdram doesn't work cause yaffs2 doesn't like
anything else like NAND:

/* Check it's NAND */
if (mtd->type != MTD_NANDFLASH) {
    T(YAFFS_TRACE_ALWAYS,
    ("yaffs: MTD device is not NAND it's type %d\n", mtd->type));
    return NULL;
}


Many thanks,

Dirk