On 3/10/06, David Daney <ddaney@xxxxxxxxxx> wrote: > zhuzhenhua wrote: > > In the linux, I find there are two solutions for nand flash: one is > > YAFFS2/JFFS2 + MTD, other is EXT2/EXT3+FTL. Because we have to > > implement vfat based FTL for our u-disk,so i wonder if the ext2/ext3 > > + FTL is stable enough to be root filesystem? > > thanks for any hints. > > If you are going to be writing to the rootfs then you will want either > yaffs or jffs2 as they distribute the wear across the entire device > instead of concentrating it on a few blocks. > > Most implementations I have seen (and what I do myself) is to have a > read-only rootfs on cramfs of squashfs, and then have a seperate > writable partition with either yaffs or jffs2. > > David Daney. > thanks for your advice. if i don't want u-disk function, i will select your solution. but i don't know how to use yaffs or jffs2 to implement a u-disk it seems that i have to use fat+FTL