2014-07-23 06:24:21 +08:00
|
|
|
# /etc/exports - exports(5) - directories exported to NFS clients
|
2010-03-13 23:25:19 +08:00
|
|
|
#
|
|
|
|
# Example for NFSv2 and NFSv3:
|
2014-09-27 12:12:32 +08:00
|
|
|
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
|
2010-03-13 23:25:19 +08:00
|
|
|
# Example for NFSv4:
|
2014-09-24 03:00:30 +08:00
|
|
|
# /srv/nfs4 hostname1(rw,sync,fsid=0)
|
2010-03-13 23:25:19 +08:00
|
|
|
# /srv/nfs4/home hostname1(rw,sync,nohide)
|
|
|
|
# Using Kerberos and integrity checking:
|
2014-07-23 06:24:21 +08:00
|
|
|
# /srv/nfs4 *(rw,sync,sec=krb5i,fsid=0)
|
|
|
|
# /srv/nfs4/home *(rw,sync,sec=krb5i,nohide)
|
2010-03-13 23:25:19 +08:00
|
|
|
#
|
2014-09-27 12:12:32 +08:00
|
|
|
# Use `exportfs -arv` to reload.
|