xxx–--------------------------------------1 > NFS服务器 <---------------------------------------------xxx
1》# apt-get install nfs-kernel-server
2》创建共享目录:
1->madir /shared_bd
2->chmod 777 /shared_bd
3->vim/etc/exports 添加:/shared_bd/*(rw,sync,no-root-squash)
3》重启:servicenfs-kernel-server restart
4》网络端口状态:# netstat -tl //LISTEN:打开
5》服务器状态: #service nfs-kernel-server status
6》 # service nfs-kernel-server stop
7》开发板挂载pc机:
[ARM] # mount -t nfs -o nolock, rw 192.168.0.221:/shared_bd/ /mnt
xxx---------------------------2> mincom-----------------------xxx
问题:
1》Device /dev/ttyUSB0 is locked.
解决: rm /var/lock/LCK..ttyUSB0 -rf