reach of jffs2 within image vs. partition

David Woodhouse dwmw2 at infradead.org
Wed Apr 2 08:44:56 EST 2003


On Wed, 2003-04-02 at 14:41, John Burch wrote:
> 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?

Not generally, no.

If you use the 'cleanmarker' option then it'll prevent the kernel from
erasing the remaining blocks on the first mount, and with some
bootloaders you can't define a partition while installing an image which
is smaller than the total intended size of that partition -- so you had
to pad with 0xFF to avoid writing crap to the end of it.

-- 
dwmw2




More information about the linux-mtd mailing list