because i am not subcribed to any grub mailinglist, i am going to post this info about jffs2 here.

unfort, because lack of time and no deep knowledge about the jffs2 filesystem, i am not able to finish the implementation of the jffs2 fs in grub2. anyway, i'd like to share the experience about adding a filesystem to grub2!

first, here is the patch: grub-1.92-nww-jffs2.patch


adding a new fs to grub is NOT straight forward, imho. a user could assume that you simply put a file into grub-1.92/fs. possibly also adding sthg to grub-1.92/DISTLIST. but editing the contents of

is sthg which has to be done for now (version 1.92 of grub).

i've just copied the contents of the sections that containes jfs and renamed jfs to jffs2...

detecting a jffs2 fs is implemented already in grub-1.92/fs/jffs2.c, function grub_jffs2_mount(). everything else is not done. hopefully someone from http://www.linux-mtd.infradead.org/ can fill in the missing parts in high speed time.


CategoryFilesystem

GrubWiki: jffs2 (last edited 2008-03-26 12:35:08 by Mac)