mount -t usbdevfs none /proc/bus/usb
错误原因分析
错误显示:
mount: mounting none on /proc/bus/usb failed
跟踪内核源码:
fs/namespace.c->sys_mount()->do_mount()->do_new_mount()->do_kern_mount()
if (!type)
return ERR_PTR(-ENODEV);/*No such device*/
查看系统帮助(man mount):
-t vfstype 一节说明:
Earlier usbfs known as usbdevfs
由此说明,usbdevfs是旧内核的实现方式,新内核采用usbfs
所以
把
mount -t usbdevfs none /proc/bus/usb
改为
mount -t usbfs none /proc/bus/usb
挂载正常!
(s3c2410 & linux2.6.14.1)
阅读(7596) | 评论(0) | 转发(0) |