1.编写挂载命令
book@-machine:~$ cat ~/workspace/mount.sh
#!/bin/bash
echo `sudo mount -t nfs -o nolock 192.168.1.107:/nfs_workspace /mnt`
2.添加执行权限
book@-machine:~$ chmod +x ~/workspace/mount.sh
3.运行,挂载
book@-machine:~$ ~/workspace/mount.sh
开发板挂载
[root@FriendlyARM /]# mount -t nfs -o nolock 192.168.1.107:/nfs_workspace /mnt