返回信息流nfs的服务器已经设置正常 (rw,no_root_squash)
在板子上也选了需要的一些模块支持,但是mount还是不行
# mount -t nfs 192.168.0.100:/home/yihang/nfs /mnt/nfs
或者
# mount -o rw -t nfs 192.168.0.100:/home/yihang/nfs /mnt/nfs
提示参数错误
# mount 192.168.0.100:/home/yihang/nfs /mnt/nfs
提示没有此文件或目录
# mount -t nfs rw 192.168.0.100:/home/yihang/nfs /mnt/nfs
提示在/etc/fstab上找不到 rw
内核编译时有以下选项,还需要其他的么?
networking->
[*] IP: kernel evelautoconfiguration
[ ] IP: DHCP support
[*]IP: BOOTP support
[ ] IP: RARP support
Filesystem->networkingfilesystem
<*> NFS file system support
[*] Root file system on NFS
这是一条镜像帖。来源:北邮人论坛 / embedded-system / #936同步于 2008/7/18
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Embedded_System机器人发帖
内核要支持nfs挂载到服务器上需要哪些模块。
yihang
2008/7/18镜像同步1 回复
订阅后,新回复会通过你的通知中心匿名送达。
1 条回复
你内核编译的那些选项是对的
第一个命令就是对的
mount命令是需要busybox支持的
在编译busybox的时候linux system utilities选项里面的mount选项下面有
[]support mounting nfs filesystems
这个要选上,估计是你的busybox编译的时候没有选这一项