[mkfs.jffs2] Problems padding jffs2 image.

javier Martin javier.martin at vista-silicon.com
Mon Aug 17 09:32:34 EDT 2009


I am trying to generate a jffs2 image 10 erase blocks long but I can't
make it higher than 128KB:

javier at acuario:/home/javier/SVN/visstrim_sm10.repository/branches/cctv/sw/releases/TestJffs2$
mkfs.jffs2 -r hola -s 2KiB -e 128KiB -o ./test.jffs2 -v
--pad=10*128KiB
/
	f 0644         5 (      209)   500:100 adios


Compression mode: priority
Compressors:
      none             compr: 3 blocks (5)  decompr: 0 blocks
      zlib (prio:60) + compr: 0 blocks (0/0)  decompr: 0 blocks
     rtime (prio:50) + compr: 0 blocks (0/0)  decompr: 0 blocks
Compression errors: 0
javier at acuario:/home/javier/SVN/visstrim_sm10.repository/branches/cctv/sw/releases/TestJffs2$
du -sh test.jffs2
132K	test.jffs2

I specifiy a padding of 10*128KiB but the image size is never longer than 132KB.

Can anyone give my a tip on this issue?

Thank you.
-- 
Javier Martin
Vista Silicon S.L.
Universidad de Cantabria
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com



More information about the linux-mtd mailing list