kernel boot or something

360阅读 0评论2010-07-29 nishizawa23
分类:

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
上一篇:gentoo 在vware 下安装
下一篇:eGalax qt 移植