rootlinger 发表于 2006-3-13 11:12:09

mount 挂载设备出错 ????

各位大侠,我在使用ker2.6+jffs2内核时, 用mount -t jffs2 /dev/mtdblock /mnt 提示下列错误:
attempt to mount non-MTD device "/dev/mtdblock0" as jffs2
mount: mounting /dev/mtdblock0 on /mnt failed: Invalid argument
pid 26:failed 256
继续敲入命令:mount
显示: /dev/ram0 on / type romfs (ro)
/proc on /proc type proc (rw,nodiratime)

各位大侠,这是怎么回事阿? 我的mount到底哪出问题了???

rootlinger 发表于 2006-3-13 14:13:30

/var/tmp> cat /proc/mtd

dev:    size   erasesizename

mtd0: 00800000 00004000 "LUMIT4510 flash partition A"

mtd1: 00800000 00004000 "LUMIT4510 flash partition B"

/> mount -t jffs2 /dev/mtdblock0/mnt

Attempt to mount non-MTD device "/dev/mtdblock0" as JFFS2
mount: Mounting /dev/mtdblock0 on /mnt failed: Invalid argument

pid 38: failed 256

/var/tmp>
这是哪出问题了阿?还有一个问题,就是在uclinux启动后,在超级终端的启动界面中,输入命令时,怎么当前目录老跳啊?感觉要输两次命令,才能执行的样子,比如:
/var/tmp> pwd

/

/> pwd

/var/tmp

/var/tmp> pwd

/

/> pwd

/var/tmp

/var/tmp>
页: [1]
查看完整版本: mount 挂载设备出错 ????