why the emulated block driver by gluebi.c can't be used by FAT32

Artem Bityutskiy dedekind1 at gmail.com
Mon Jul 26 00:11:26 EDT 2010


On Mon, 2010-07-26 at 12:02 +0800, rednoah wrote:
> Hi all:
>     According to the documentations of mtd,the gluebi of ubi is used to
> emulate block driver on the top of ubi

gluebi emulates an MTD device on top of an UBI volume. It does not
emulate a block device.

> ,for jffs2 or other mtd-oriented
> software using.Since the ubi is capable of wear leveling and bad
> block,why we can't build FAT32 filesystem on the emulated block
> device?
>     I tried building a FAT32 on a ubi volume using the emulated block
> node generated by gluebi.c.It seem ok when I transfer files between
> this
> partition and SD card.

I think you used UBI->gluebi->mtdblock->FAT. And this is bad because
mtdblock is bad - it loses data in case of power cuts. If you will never
have any power cuts, this setup may be ok, although very suboptimal in
terms of write speed.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list