- 论坛徽章:
- 0
|
/direction client(option [])
/direction 共享目录
client 主机名字 可以用ip代替
option:
1>secure or insecure 指定客户是否必需从安全端口建立联接 默认 secure
2>rw or ro 客户访问目录的读写权限 默认ro rw 不同系统不同
3>sync or async 能够提高性能 代价是系统崩溃会破坏文件
4>hide or nohide NFS 会隐藏单独分分取得目录..不全
5>root_squash or no_root_squash 限制访问权限
6>all_squash or no_all_squash 是否对普通用户的权限进行限制
范例:
/share 192.168.0.*(secure ,rw ,no_root_squash,no_all_squash)
mount -t nfs nolock 192.168.0...:/share /mnt
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/70379/showart_1924769.html |
|