将主机的NFS挂载到开发板上

将主机的NFS挂载到开发板上

1)开发板设置IP地址和网关,最好写在/etc/init.d/S90start_userapp.sh 

ifconfig 192.168.1.136

route add default gw 192.168.1.1

2.挂载

ls /mnt
mount -t nfs 192.168.1.122:/nfsroot/ /mnt  -o nolock
原文地址:https://www.cnblogs.com/sggggr/p/13653120.html