Skip to contentSkip to conversation

mtd_debug

DISCUSSION Nikhil 2 participants 2 messages Dec 9, 2005 Memory technology devices (MTD)

lore
Share & tools
lore

Nikhil

author
#0 lore raw

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
#1 lore raw
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