Fix mounting jffs2 by mtd name

Johannes Stezenbach js at linuxtv.org
Fri Dec 16 12:24:07 EST 2005


On Wed, Dec 14, 2005, Johannes Stezenbach wrote:
> Busybox mount insists that mtd: refers to a NFS mount:
> 
> # cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 02000000 00004000 "foo"
> # mount mtd:foo /mnt -t jffs2
> mount: mtd: Unknown host
> mount: nfsmount failed: Connection refused
> mount: Mounting mtd:foo on /mnt failed: Invalid argument
> 
> I suggest new syntax:
> 
> # mount mtd/foo /mnt -t jffs2

OK, I found out this was a bug in the specific version
of busybox mount in use here. Up-to-date busybox and
util-linux mount seem to be fine.

Silly idea to fix this in the kernel ;-/

Sorry for the noise,
Johannes




More information about the linux-mtd mailing list