[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] Few Queries related to JFFS2

On Fri, 2004-12-03 at 09:10, S Ashok wrote:
> Hi all,
> I am working on embedded project where we are using 
> root filesystem with jffs2 filesystem type( 4MB NOR 
> FLASH). I have few queries related to it.
> 1. Is the erase block size specified while creating jffs2 
>    image should be same as that of flash block size ?

In general, yes.

> 2. I have read from the mailing list that free space has to 
>    be left for proper functioning of GC  ( hideing them from 
>    userspace ). Is there any number ( one or two erase block 
>    ) ?

JFFS2 figures this out when it mounts.  The old hard coded method used 5
eraseblocks.  To be safe, I would recommend starting with 5 free.

IIRC, JFFS2 will just mount the filesystem read-only if it doesn't have
enough free eraseblocks.


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com