mtd_debug
Hi all,
i just wanted to know if there is any utility to see how the JFFS2 filesystem is written on the flash. Places where inode structures are stored when a new file is created or if a file has been modified where actually on the flash this part is written is a new inode created or the same inode is re-written to some another location along with the data node.
i tried to view the flash layout using the "mtd-debug read" utility and i can view part of the data nodes but i am not able to view what exactly is written as the metadata of the file. Is there any way of getting the information of the metadata stored on the flash.
thanks in advance
Signature · 5 lines
Thanks & Regards Nikhil Shirodkar Project Engineer NISG, CDAC
Quoted 9 lines · Nikhil
Hi all,
i just wanted to know if there is any utility to see how the JFFS2 filesystem is written on the flash. Places where inode structures are stored when a new file is created or if a file has been modified where actually on the flash this part is written is a new inode created or the same inode is re-written to some another location along with the data node.
Quoted 7 lines
i tried to view the flash layout using the "mtd-debug read" utility and i can view part of the data nodes but i am not able to view what exactly is written as the metadata of the file. Is there any way of getting the information of the metadata stored on the flash.
thanks in advance
Not sure if jffs2dump can meet your requirement...... It can dump the meta data of each node on the flash.
Thanks,
Forrest