mtd-utils
mtd-utils copied to clipboard
Problem with jffs2reader missing first entry
jffs2reader misses the first entry from a jffs2 file system image. As can be seen below the directory /3518 is missing.
Here is jffs2reader output -rwxr-xr-x 1 0 0 0 Jan 21 03:13 /704 -rwxr-xr-x 1 0 0 18416 Jan 21 03:14 /MCLI -rwxr-xr-x 1 0 0 19944 Jan 21 03:14 /alarmmng -rwxr-xr-x 1 0 0 13072 Jan 21 03:14 /as-iosched.ko -rwxr-xr-x 1 0 0 0 Jan 21 03:13 /ch0.h264 -rwxr-xr-x 1 0 0 0 Jan 21 03:13 /ch1.h264
Here is jffs2dump output Dirent node at 0x0000000c, totlen 0x0000002c, #pino 1, version 0, #ino 2, nsize 4, name 3518 Inode node at 0x00000038, totlen 0x00000044, #ino 2, version 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x0000007c, totlen 0x0000002b, #pino 1, version 1, #ino 3, nsize 3, name 704 Inode node at 0x000000a8, totlen 0x00000044, #ino 3, version 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x000000ec, totlen 0x0000002c, #pino 1, version 2, #ino 4, nsize 4, name MCLI Inode node at 0x00000118, totlen 0x00000859, #ino 4, version 1, isize 18416, csize 2069, dsize 4096, offset 0 Inode node at 0x00000974, totlen 0x00000a37, #ino 4, version 2, isize 18416, csize 2547, dsize 4096, offset 4096 Inode node at 0x000013ac, totlen 0x00000a0e, #ino 4, version 3, isize 18416, csize 2506, dsize 4096, offset 8192 Inode node at 0x00001dbc, totlen 0x00000480, #ino 4, version 4, isize 18416, csize 1084, dsize 4096, offset 12288 Inode node at 0x0000223c, totlen 0x000003a0, #ino 4, version 5, isize 18416, csize 860, dsize 2032, offset 16384 Dirent node at 0x000025dc, totlen 0x00000030, #pino 1, version 3, #ino 5, nsize 8, name alarmmng Inode node at 0x0000260c, totlen 0x000007ce, #ino 5, version 1, isize 19944, csize 1930, dsize 4096, offset 0 Inode node at 0x00002ddc, totlen 0x00000780, #ino 5, version 2, isize 19944, csize 1852, dsize 4096, offset 4096 Inode node at 0x0000355c, totlen 0x000006e3, #ino 5, version 3, isize 19944, csize 1695, dsize 4096, offset 8192 Inode node at 0x00003c40, totlen 0x000009d0, #ino 5, version 4, isize 19944, csize 2444, dsize 4096, offset 12288 Inode node at 0x00004610, totlen 0x0000074e, #ino 5, version 5, isize 19944, csize 1802, dsize 3560, offset 16384 Dirent node at 0x00004d60, totlen 0x00000035, #pino 1, version 4, #ino 6, nsize 13, name as-iosched.ko Inode node at 0x00004d98, totlen 0x00000a40, #ino 6, version 1, isize 13072, csize 2556, dsize 4096, offset 0 Inode node at 0x000057d8, totlen 0x00000a2a, #ino 6, version 2, isize 13072, csize 2534, dsize 4096, offset 4096 Inode node at 0x00006204, totlen 0x00000718, #ino 6, version 3, isize 13072, csize 1748, dsize 4096, offset 8192 Inode node at 0x0000691c, totlen 0x000001a1, #ino 6, version 4, isize 13072, csize 349, dsize 784, offset 12288 Dirent node at 0x00006ac0, totlen 0x00000030, #pino 1, version 5, #ino 7, nsize 8, name ch0.h264 Inode node at 0x00006af0, totlen 0x00000044, #ino 7, version 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x00006b34, totlen 0x00000030, #pino 1, version 6, #ino 8, nsize 8, name ch1.h264 Inode node at 0x00006b64, totlen 0x00000044, #ino 8, version 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x00006ba8, totlen 0x00000030, #pino 1, version 7, #ino 9, nsize 8, name ch2.h264 Inode node at 0x00006bd8, totlen 0x00000044, #ino 9, version 1, isize 0, csize 0, dsize 0, offset 0
Yes, i also get this problem... please Fix it, and please compile the binary with static option for arm machine... Thanks.