* why the emulated block driver by gluebi.c can't be used by FAT32
@ 2010-07-26 4:02 rednoah
2010-07-26 4:11 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: rednoah @ 2010-07-26 4:02 UTC (permalink / raw)
To: linux-mtd
Hi all:
According to the documentations of mtd,the gluebi of ubi is used to
emulate block driver on the top of ubi,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.
B/r
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: why the emulated block driver by gluebi.c can't be used by FAT32
2010-07-26 4:02 why the emulated block driver by gluebi.c can't be used by FAT32 rednoah
@ 2010-07-26 4:11 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-07-26 4:11 UTC (permalink / raw)
To: rednoah; +Cc: linux-mtd
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 (Артём Битюцкий)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-26 4:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 4:02 why the emulated block driver by gluebi.c can't be used by FAT32 rednoah
2010-07-26 4:11 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).