close
=============Linux Server端====================
$service nfs stop
$vim /etc/exports
加入可當作網路磁碟的資料夾名稱及可使用的權限:
如以下
用法: /資料夾 Tab 允許的電腦權限
/home/leon/TEST *(rw,sync,no_root_squash)
/home/rodney/TEST *(rw,sync,no_root_squash)
/home/ 172.17.101.xxx(rw)
儲存後離開
$service nfs start 或 service nfs restart
=============Embedded ARM board 端=============
$mount -t nfs -o nolock 172.17.x.x:/home/rodney/TEST /mnt/nfs
$cd /mnt/nfs
$ls
即可看到mount上的資料夾
全站熱搜