mkfs.jffs2 not wroking properly

Skumar skumar at mistralsoftware.com
Thu Dec 5 01:42:53 EST 2002


Hi ,

[root at 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 at embedded_linux del]# cd ..
[root at embedded_linux skumar]# ./mkfs.jffs2 -r del -o tmp/jffs2.image
[root at 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 at 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)
is 0

Regards
sharath







More information about the linux-mtd mailing list