error in jffs2reader ?

A.L. Klyutchenya asoneofus at nm.ru
Mon Mar 31 17:02:21 EST 2003


Having sources MTD from CVS has found the frob, which approached 
to my task (read boot file from MTD NAND+JFFS2, 
CVSROOT/mtd/util/jffs2reader.c). Was it however found very 
unpleasant particularity: program reads only one block from 
file. This only beside me so?
Check:
- shall create image of the disk (from directory OSSCVOIP01)
mkfs.jffs2 -vl -e 0x4000 -o jffs2root.img -r ./OSSCVOIP01 -p
- afterwards, given by program, extract the file.
jffs2reader jffs2root.img -f vmlinus
- a review - do not eqvivalent.
After searching for has found that program takes only one block 
from file (his decompress).

-- 
÷ÓÅÈâÌÁÇ!      
      ____   __
     /   |  / / á. ì. ëÌÀÔÞÅÎÑ
    / /| | / /  (asoneofus)
   / /_| |/ /   mail:   asoneofus at kde.ru
  / ____  _ \   www:    http://www.qt.kde.ru
 / /   | | \ \  icq:    113679387
/_/    |_|  \_\ 





More information about the linux-mtd mailing list