JZ2440v3挂载NFS网络文件系统 开发设备驱动时,发现没有NFS下载非常不方便,因此,设置JZ2440v3挂载NFS网络文件系统

开发设备驱动时,发现没有NFS下载非常不方便,因此,设置JZ2440v3挂载NFS网络文件系统

1、开机启动ifconfig 192.168.1.17 eth0

在/etc/init.d/rcS中加入ifconfig 192.168.1.17 eth0,开机自动启动网络服务

2、主机安装配置NFS

sudo apt-get install nfs-kernel-server portmap

vi /etc/exports

增加以下内容

/work/nfs_zjx *(rw,sync,no_root_squash)

重启NFS

sudo /etc/init.d/nfs-kernel-server restart

3、开发板中配置NFS启动

mount -t nfs -o nolock 192.168.1.120:/work/nfs_zjx /mnt


猜你喜欢

转载自blog.csdn.net/u013215852/article/details/80890460
今日推荐