reach of jffs2 within image vs. partition

John Burch jburch at vincisystems.com
Wed Apr 2 08:41:21 EST 2003



> -----Original Message-----
> From: linux-mtd-bounces at lists.infradead.org 
> [mailto:linux-mtd-bounces at lists.infradead.org] On Behalf Of 
> David Woodhouse
> Sent: Wednesday, April 02, 2003 8:11 AM
> To: John Burch
> Cc: linux-mtd at lists.infradead.org
> Subject: Re: reach of jffs2 within image vs. partition
> 
> 
> On Wed, 2003-04-02 at 14:06, John Burch wrote:
> > Will JFFS2 ever read/write an area of flash memory that is 
> within the 
> > same mtd partition but outside of the jffs2 image (as defined -p 
> > switch of mkfs.jffs2)?  In other words, if the jffs2 image 
> spans 0x0 - 
> > 0x120000 and it lies within an mtd partition that spans 0x0 - 
> > 0x140000, will the last 128k, spanning from 0x120000 - 
> 0x140000, ever 
> > be accessed in any way by jffs2?  Would that 128k area be as 
> > safe/non-volatile there as in a separate partition?
> 
> No. JFFS2 will use the entire partition regardless of the 
> amount of space taken by the original image.

Thanks.
  
Is there any advantage or disadvantage to creating the jffs2 image file
with the exact same size (via padding) as the partition, as opposed to
creating the jffs2 image with some size that's less than the partition
size?

> 
> -- 
> dwmw2
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list 
> http://lists.infradead.org/mailman/listinfo/li> nux-mtd/
> 




More information about the linux-mtd mailing list