买了块am335x开发板,然后就是各种搭建环境,这是我在弄nfs时找的资料
1.要使用mount挂载网络文件系统,主机就要有nfs服务
apt-get install nfs-kernel-service nfs-common portmap
2.配置
打开/etc/exports 在末尾加入:
/tftpboot *(rw,sync,no_root_squash)
解释:
/tftpboot ---nfs目录
* ---所有网段
sync ---数据同步写入内在和硬盘
no_root_squash ---nfs客户端共享目录使用者权限
3.重启服务
sudo service portmap restart
sudo service nfs-kernel-server restart
4.测试
在本机可以测试下: