aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mountd
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2011-07-12 14:04:36 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2011-07-12 14:04:36 +0000
commitc95dfea9c6968032368c71f80c594118c6954df0 (patch)
tree3655067570a469318f7350feef2cf411d3096dd1 /usr.sbin/mountd
parentc66ca7723bd8d7248f013804ce3bc8ddf75da170 (diff)
Notes
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r--usr.sbin/mountd/exports.522
1 files changed, 21 insertions, 1 deletions
diff --git a/usr.sbin/mountd/exports.5 b/usr.sbin/mountd/exports.5
index 357f82a3ec426..f2a1474e19b88 100644
--- a/usr.sbin/mountd/exports.5
+++ b/usr.sbin/mountd/exports.5
@@ -28,7 +28,7 @@
.\" @(#)exports.5 8.3 (Berkeley) 3/29/95
.\" $FreeBSD$
.\"
-.Dd December 3, 2009
+.Dd July 12, 2011
.Dt EXPORTS 5
.Os
.Sh NAME
@@ -72,6 +72,13 @@ that can be mounted on by the corresponding client(s).
There are three forms of this specification.
The first is to list all mount points as absolute
directory paths separated by whitespace.
+This list of directory paths should be considered an
+.Dq administrative control ,
+since it is only enforced by the
+.Xr mountd 8
+daemon and not the kernel.
+As such, it only applies to NFSv2 and NFSv3 mounts and only
+with respect to the client's use of the mount protocol.
The second is to specify the pathname of the root of the file system
followed by the
.Fl alldirs
@@ -81,8 +88,21 @@ including regular files if the
.Fl r
option is used on
.Xr mountd 8 .
+Because NFSv4 does not use the mount protocol,
+the
+.Dq administrative controls
+are not applied.
+Thus, all the above export line(s) should be considered to have the
+.Fl alldirs
+flag, even if the line is specified without it.
The third form has the string ``V4:'' followed by a single absolute path
name, to specify the NFSv4 tree root.
+This line does not export any file system, but simply marks where the root
+of the server's directory tree is for NFSv4 clients.
+The exported file systems for NFSv4 are specified via the other lines
+in the
+.Xr exports 5
+file in the same way as for NFSv2 and NFSv3.
The pathnames must not have any symbolic links in them and should not have
any
.Dq Pa \&.