Skip to contentSkip to conversation

mkfs.jffs2 problem

DISCUSSION Skumar 1 participant 1 message Dec 9, 2002 Memory technology devices (MTD)

lore
Share & tools
lore

Skumar

author
#0 lore raw

Hi ,

[root@embedded_linux del]# ls -la
total 44

 drwxrwxr-x    2 skumar   skumar       4096 Dec  5 11:48 .
 drwxrwxrwx   25 skumar   skumar       4096 Dec  5 10:45 ..
 -rwxr-xr-x    1 root     root        13830 Nov 14 17:56 erase
 -rwxr-xr-x    1 root     root        14751 Nov 14 17:56 eraseall
 -rw-rw-r--    1 skumar   skumar         13 Nov 14 12:51 test.c
 [root@embedded_linux del]# cd ..
 [root@embedded_linux skumar]# ./mkfs.jffs2 -r del -o tmp/jffs2.image
 [root@embedded_linux skumar]# /usr/src/redhat/SOURCES/mtd/util/jffs2reader
 tmp/jffs2.image
 -rw-rw-r-- 1    503      503             13 Nov 14 12:51 /test.c
 -rwxr-xr-x 1    0        0             4096 Nov 14 17:56 /eraseall

[root@embedded_linux skumar]#

as seen though the del directory contains 3 files the jffs2.image contains only 2 file & the size of one of the files(eraseall)

when i mount this jffs2.image, i can see only test.c file

what is the reason?

Regards
sharath