Query regarding JFFS2 init

Artem Bityutskiy dedekind at infradead.org
Thu Jul 19 02:55:34 EDT 2007


On Thu, 2007-07-19 at 11:08 +0530, Meeta Mishra wrote:
> Hi,
> 
> I want to know what actually happens when sbin/init is invoked in JFFS2.
> 
> 
> I'm using small page Nand device with a 12MB JFFS2 partition (which has
> 5.6 MB JFFS2 image). Kernel boots up from Nand flash and comes to
> sbin/init; the total execution of sbin/init is taking 13 sec (which
> seems huge to me). 
> 
> I traced the read calls during sbin/init execution and found that approx
> 13 MB of data is being read which is taking approx 7.8 sec (out of 13
> sec).  Does anyone has any idea about the 13 MB data that's being read?

13 Megs are read because of checking - JFFS2 has to check all data just
after it has been mounted.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list