Skip to contentSkip to conversation

Two same name files in JFFS2 image? Is it possible?

DISCUSSION -= KuK =- 1 participant 1 message Oct 11, 2011 Memory technology devices (MTD)

lore
Share & tools
lore

-= KuK =-

author
#0 lore raw

Hi,

I have JFFS2 image ( NAND Samsung K9G8G08U0M) copy made with Wellon VP-990 programmer. (attached to this email)

When I examine this image with jffs2dump, I can see:

root@pouchx-Presario-2100:~# jffs2dump -c -v /HDS/ConfigHDS7full_noECC.img
         Inode      node at 0x00000000, totlen 0x00000044, #ino      2, 
version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00000044, totlen 0x0000002b, #pino     1, 
version     1, #ino         2, nsize        3, name MAC
         Inode      node at 0x00000070, totlen 0x00000056, #ino      2, 
version     2, isize       18, csize       18, dsize       18, offset        0
         Padding    node at 0x000000c8, totlen 0x00000738

         Inode      node at 0x00000800, totlen 0x00000044, #ino      3, 
version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00000844, totlen 0x00000034, #pino     1, 
version     2, #ino         3, nsize       12, name lcd_contrast
         Inode      node at 0x00000878, totlen 0x00000048, #ino      3, 
version     2, isize        4, csize        4, dsize        4, offset        0
         Padding    node at 0x000008c0, totlen 0x00000740

         Inode      node at 0x00001000, totlen 0x00000044, #ino      4, 
version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00001044, totlen 0x00000032, #pino     1, 
version     3, #ino         4, nsize       10, name Config.ini
         Inode      node at 0x00001078, totlen 0x0000016e, #ino      4, 
version     2, isize      474, csize      298, dsize      474, offset        0
         Padding    node at 0x000011e8, totlen 0x00000618

         Dirent     node at 0x00001800, totlen 0x0000002b, #pino     1, 
version     4, #ino         0, nsize        3, name MAC
         Inode      node at 0x0000182c, totlen 0x00000044, #ino      5, 
version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00001870, totlen 0x0000002b, #pino     1, 
version     5, #ino         5, nsize        3, name MAC
         Inode      node at 0x0000189c, totlen 0x00000056, #ino      5, 
version     2, isize       18, csize       18, dsize       18, offset        0
         Padding    node at 0x000018f4, totlen 0x0000070c

         Inode      node at 0x00002000, totlen 0x00000044, #ino      6, 
version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00002044, totlen 0x00000035, #pino     1, 
version     6, #ino         6, nsize       13, name can_unique_id
         Inode      node at 0x0000207c, totlen 0x0000004c, #ino      6, 
version     2, isize        8, csize        8, dsize        8, offset        0
         Padding    node at 0x000020c8, totlen 0x00000738

Empty space: 0, dirty space: 0

Is it possible that image contains two files with name "MAC"?

How to mount not to lose one "MAC" file?

PS. Im Linux beginner. Please help :)

Jakub Jozwiak