|
我用的是de0-nano-soc,怎样配置NFS
[复制链接]
10芯积分
root@socfpga:~# ifconfig eth0 192.168.0.10
root@socfpga:~# ping 192.168.0.7
PING 192.168.0.7 (192.168.0.7) 56(84) bytes of data.
64 bytes from 192.168.0.7: icmp_req=1 ttl=64 time=1.40 ms
64 bytes from 192.168.0.7: icmp_req=2 ttl=64 time=1.64 ms
64 bytes from 192.168.0.7: icmp_req=3 ttl=64 time=1.57 ms
--- 192.168.0.7 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.403/1.540/1.648/0.107 ms
root@socfpga:~# mount -t nfs 192.168.0.7:/mnt/nfs /mnt -o nolock
root@socfpga:~# ls /mnt
card cf net nfs ram
root@socfpga:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 999320 193836 753056 20% /
devtmpfs 252784 4 252780 0% /dev
tmpfs 515116 40 515076 0% /var/volatile
tmpfs 515116 0 515116 0% /media/ram
*****主机和板子能ping通,执行挂载命令没出错,但是没挂载上,问题出在哪里
|
|