UBI and OneNAND

Kyungmin Park kyungmin.park at samsung.com
Tue Nov 7 07:52:39 EST 2006


Hi,

> > ##
> > ## Look at existing devices
> > ##
> > / # ls -l /dev/mtdblock?
> > brw-r-----    1 0        0         31,   0 Jan  1 00:00 /dev/mtdblock0
> > brw-r-----    1 0        0         31,   1 Jan  1 00:00 /dev/mtdblock1
> > brw-r-----    1 0        0         31,   2 Jan  1 00:00 /dev/mtdblock2
> > brw-r-----    1 0        0         31,   3 Jan  1 00:00 /dev/mtdblock3
> Yo do not need mtdblock devices to mount JFFS2 at all. JFFS2 anyway
> works with MTD devices directly and this is just an old way to mount
> JFFS2. /dev/mtdX are character devices and you cannot feed the mount
> utility by character devices, so this is why fake block devices were
> used. Nowadays there is device-less mount support and you may use:

> mount mtd7 /mnt/nvm

Yes, I can mount ubi with avobe method. 

I can't mount with name but It's possible with new mtdblock node

mtd = 3 -> mtd > 7
# mount -t jffs2 /dev/mtdblock7 /mnt

I will send more detailed description tomorrow.

Thank you,
Kyungmin Park


More information about the linux-mtd mailing list