[PATCH] [MTD] [UBI] add block device layer on top of UBI

Nancy nancydreaming at gmail.com
Thu May 15 01:54:12 EDT 2008

Hi, Norman

On 5/15/08, N Cheung <brjerome.1 at gmail.com> wrote:
> Nancy and Artem,
> I want to run cramfs or squashfs on NAND. It looks like this ubiblock
> may be the solution to my search.  Or perhaps there is a NFTL layer
> that manages bad blocks.  Any suggestions?

       In my opinion, the Nand awared filesystem is the best choice
for you. JFFS2, YAFFS2, UBIFS are all Nand awared filesystem. They are
all run on Character device layer.
       UBI block device layer is creating for the traditional
filesystem based on block device layer, such as FAT. Although UBI
tolerant power failure, but that was not mean completely safe for FAT.
Sometimes, FAT will turn to readonly if it detect an file EOF missing.
In that case, you should use tool "dosfsck" to fix this problem.
       Maybe cramfs or squashfs may have the same problem like FAT has
or other problem. To be safe, please use Nand awared filesystem
instead. Use ubi block device layer when you have no other choices.

Best wishes,

More information about the linux-mtd mailing list