Re: jff2 filesystem in vanilla

From: David Woodhouse
Date: Fri Jun 04 2004 - 18:19:43 EST


On Fri, 2004-06-04 at 11:02 +0200, Daniel Egger wrote:
> JFFS2 is included in the standard kernels IIRC, however I'd recommend
> using the CVS version from the official repository as there are huge
> improvements in there.

JFFS2 in the 2.4 kernel is an old stable branch.

The code in 2.6 and in CVS is much faster to mount, especially, and it
also supports NAND flash.

Linus' tree is updated periodically when I'm sufficiently happy with the
stability of the development tree in CVS, and when I have time to merge
it, test it and read through all the changes for sanity -- which often
involves redoing some of them. You should be OK using what's in the
kernel -- let me know if you have problems.

> To use it on a non-MTD[1] device you will need an emulation layer,
> the pseudo Block-MTD device. And you will need some additional partition
> using ext2/ext3/reiserfs/FAT containing the kernel for your Grub/LILO
> bootloader.

JFFS2 on blkmtd isn't ideal -- it's designed to work on real flash. But
it works. It could do with someone making it use the stuff we did for
NAND -- batching writes into 512-byte chunks etc.

--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/