diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2009-05-27 22:02:54 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2009-05-27 22:02:54 +0000 |
commit | 8ca86cdf060289a39cd0d843125353b816a7f967 (patch) | |
tree | 43c3aad9670f965a1e1d4f43b411f4b84fe3df44 /usr.sbin/mountd/mountd.8 | |
parent | 7cc11d24d8d26d91c6ab2c2b0377046ed7014d25 (diff) | |
download | FreeBSD-src-8ca86cdf060289a39cd0d843125353b816a7f967.zip FreeBSD-src-8ca86cdf060289a39cd0d843125353b816a7f967.tar.gz |
Modify mountd to handle the experimental nfs server as well as the
regular one. It now takes a "-4" command line argument to force it
to use the experimental server. Otherwise it will use the regular
server unless the experimental server is the only one linked into
the kernel. A third kind of line has been added to /etc/exports,
which is specific to NFSv4 and defines where the NFSv4 tree root is
and can be used to limit access to NFSv4 state handling operations
that do not use any file handle.
Approved by: kib (mentor)
Diffstat (limited to 'usr.sbin/mountd/mountd.8')
-rw-r--r-- | usr.sbin/mountd/mountd.8 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.sbin/mountd/mountd.8 b/usr.sbin/mountd/mountd.8 index 4f1d614..4b74d43 100644 --- a/usr.sbin/mountd/mountd.8 +++ b/usr.sbin/mountd/mountd.8 @@ -38,7 +38,7 @@ mount requests .Sh SYNOPSIS .Nm -.Op Fl 2dlnr +.Op Fl 24dlnr .Op Fl h Ar bindip .Op Fl p Ar port .Op Ar exportsfile ... @@ -63,6 +63,18 @@ Allow the administrator to force clients to use only the version 2 .Tn NFS protocol to mount file systems from this server. +.It Fl 4 +Forces +.Nm +to try and start the experimental server that includes NFSv4 support in it. +If this flag isn't specified, the experimental server will only be started +if it is linked into the kernel and the regular one isn't. +.br +ie. The kernel is built with the following: +.Bd -literal -offset indent -compact +# options NFSSERVER +options NFSD +.Ed .It Fl d Output debugging information. .Nm @@ -171,6 +183,7 @@ the current list of remote mounted file systems .Sh SEE ALSO .Xr nfsstat 1 , .Xr kldload 2 , +.Xr nfsv4 4 , .Xr exports 5 , .Xr nfsd 8 , .Xr rpcbind 8 , |