[PATCH] [MTD] [UBI] add block device layer on top of UBI
Nancy
nancydreaming at gmail.com
Mon Mar 3 06:17:06 EST 2008
This patch based on
git://git.infradead.org/users/dedekind/ubifs-v2.6.24.git/ UBI version
#cd linux-2.6.24/drivers/mtd/ubi
#path -p1 < ~/ubi_new.diff
Then copy "ubi_blktrans.h" to linux-2.6.24/include/linux/mtd
Notice: Please do not select MTD_UBI_GLUEBI
#mkfs.vfat /dev/ubiblock0 works fine, but
#mount -t vfat /dev/ubiblock0 /mnt
mount: mounting /dev/ubiblock0 on /mnt failed: Invalid argument
I grep the whole kernel, can't find where this error come from. I
totally don't know how to debug step by step, I mean follow the mount
application.
Could you please give me a suggestion? a keyword, a bookname, an
artical link what ever it is.
Many thanks!
--
Best wishes,
Nancy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ubi_new.diff
Url: http://lists.infradead.org/pipermail/linux-mtd/attachments/20080303/d3f6aa6f/attachment-0001.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ubi_blktrans.h
Url: http://lists.infradead.org/pipermail/linux-mtd/attachments/20080303/d3f6aa6f/attachment-0001.h
More information about the linux-mtd
mailing list