Cram FS on NAND - How to do this?
angainor at evo.evopolska.com
angainor at evo.evopolska.com
Wed Jun 11 06:24:15 EDT 2003
> > 3) What about wear-levelling?
> >
> > Flash blocks do not last indefinitely. Every erase brings the Flash
> > block you are erasing closer to the end of its lifespan. Obviously
> > this is less of a concern on a static filesystem like cramfs.
> >
> > Why not put a cramfs filesystem into a file on a YAFFS or JFFS2
> > filesystem and use a loopback to mount it?
> >
> > -Jas.
> >
> >
> >
> Again, no need for that on a read-only filesystem. The number of erases
> I expect during the life of the device is lower than 100.
>
> And using the loopback trick is impossible for the root filesystem.
>
Not so impossible ;) You could load the kernel and do the mount
within initrd, then pivot_root / chroot.
Cheers
Marcin
More information about the linux-mtd
mailing list