mdoc(7) markup overhaul.

This commit is contained in:
Ruslan Ermilov 2003-05-17 22:53:44 +00:00
parent 6a5997dee6
commit a7475cf45a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115119

View File

@ -30,15 +30,14 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95 .\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95
.\"
.\" $FreeBSD$ .\" $FreeBSD$
.\"" .\"
.Dd March 29, 1995 .Dd May 11, 2003
.Dt MOUNT_NFS 8 .Dt MOUNT_NFS 8
.Os .Os
.Sh NAME .Sh NAME
.Nm mount_nfs .Nm mount_nfs
.Nd mount nfs file systems .Nd mount NFS file systems
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl 23NPTUbcdiLls .Op Fl 23NPTUbcdiLls
@ -58,7 +57,7 @@ The
.Nm .Nm
utility calls the utility calls the
.Xr mount 2 .Xr mount 2
system call to prepare and graft a remote nfs file system system call to prepare and graft a remote NFS file system
.Pq Ar rhost : Ns Ar path .Pq Ar rhost : Ns Ar path
on to the file system tree at the point on to the file system tree at the point
.Ar node . .Ar node .
@ -94,8 +93,8 @@ The options are:
.Bl -tag -width indent .Bl -tag -width indent
.It Fl 2 .It Fl 2
Use the NFS Version 2 protocol (the default is to try version 3 first Use the NFS Version 2 protocol (the default is to try version 3 first
then version 2). Note that NFS version 2 has a file size limit of 2 then version 2).
gigabytes. Note that NFS version 2 has a file size limit of 2 gigabytes.
.It Fl 3 .It Fl 3
Use the NFS Version 3 protocol. Use the NFS Version 3 protocol.
.It Fl D .It Fl D
@ -107,7 +106,9 @@ message is displayed.
.It Fl I .It Fl I
Set the readdir read size to the specified value. Set the readdir read size to the specified value.
The value should normally The value should normally
be a multiple of DIRBLKSIZ that is <= the read size for the mount. be a multiple of
.Dv DIRBLKSIZ
that is <= the read size for the mount.
.It Fl L .It Fl L
Do Do
.Em not .Em not
@ -115,10 +116,10 @@ forward
.Xr fcntl 2 .Xr fcntl 2
locks over the wire. locks over the wire.
All locks will be local and not seen by the server All locks will be local and not seen by the server
and likewise not seen by other NFS clients. This removes and likewise not seen by other NFS clients.
the need to run the This removes the need to run the
.Xr rpcbind 8 .Xr rpcbind 8
service and the service and the
.Xr rpc.statd 8 .Xr rpc.statd 8
and and
.Xr rpc.lockd 8 .Xr rpc.lockd 8
@ -208,68 +209,75 @@ flag followed by a comma separated string of options.
See the See the
.Xr mount 8 .Xr mount 8
man page for possible options and their meanings. man page for possible options and their meanings.
The following NFS specific option is also available: The following NFS specific options are also available:
.Bl -tag -width indent .Bl -tag -width indent
.It port=<port_number> .It Cm port Ns = Ns Aq Ar port_number
Use specified port number for NFS requests. Use specified port number for NFS requests.
The default is to query the portmapper for the NFS port. The default is to query the portmapper for the NFS port.
.It acregmin=<seconds> .It Cm acregmin Ns = Ns Aq Ar seconds
.It acregmax=<seconds> .It Cm acregmax Ns = Ns Aq Ar seconds
.It acdirmin=<seconds> .It Cm acdirmin Ns = Ns Aq Ar seconds
.It acdirmax=<seconds> .It Cm acdirmax Ns = Ns Aq Ar seconds
When attributes of files are cached, a timeout calculated to determine When attributes of files are cached, a timeout calculated to determine
whether a given cache entry has expired. These four values determine the whether a given cache entry has expired.
upper and lower bounds of the timeouts for ``directory'' attributes and These four values determine the upper and lower bounds of the timeouts for
``regular'' (ie: everything else). The default values are 3 -> 60 seconds .Dq directory
for regular files, and 30 -> 60 seconds for directories. The algorithm to attributes and
calculate the timeout is based on the age of the file. The older the file, .Dq regular
(ie: everything else).
The default values are 3 -> 60 seconds
for regular files, and 30 -> 60 seconds for directories.
The algorithm to calculate the timeout is based on the age of the file.
The older the file,
the longer the cache is considered valid, subject to the limits above. the longer the cache is considered valid, subject to the limits above.
.It noinet4 .It Cm noinet4 , noinet6
.It noinet6 Disables
Disables AF_INET or AF_INET6 connections. Useful for hosts that have .Dv AF_INET
or
.Dv AF_INET6
connections.
Useful for hosts that have
both an A record and an AAAA record for the same name. both an A record and an AAAA record for the same name.
.El .El
.Pp .Bl -tag -width ".Cm dumbtimer"
.Bl -tag -width "dumbtimerXX" .Ss Historic Fl o Ss Options
\fBHistoric \&-o options\fR
.Pp
Use of these options is deprecated, they are only mentioned here for Use of these options is deprecated, they are only mentioned here for
compatibility with historic versions of compatibility with historic versions of
.Nm . .Nm .
.It bg .It Cm bg
Same as Same as
.Fl b . .Fl b .
.It conn .It Cm conn
Same as not specifying Same as not specifying
.Fl c . .Fl c .
.It dumbtimer .It Cm dumbtimer
Same as Same as
.Fl d . .Fl d .
.It intr .It Cm intr
Same as Same as
.Fl i . .Fl i .
.It lockd .It Cm lockd
Same as not specifying Same as not specifying
.Fl L . .Fl L .
.It nfsv2 .It Cm nfsv2
Same as Same as
.Fl 2 . .Fl 2 .
.It nfsv3 .It Cm nfsv3
Same as Same as
.Fl 3 . .Fl 3 .
.It rdirplus .It Cm rdirplus
Same as Same as
.Fl l . .Fl l .
.It mntudp .It Cm mntudp
Same as Same as
.Fl U . .Fl U .
.It resvport .It Cm resvport
Same as Same as
.Fl P . .Fl P .
.It soft .It Cm soft
Same as Same as
.Fl s . .Fl s .
.It tcp .It Cm tcp
Same as Same as
.Fl T . .Fl T .
.El .El
@ -291,7 +299,9 @@ See the
option as well. option as well.
.It Fl s .It Fl s
A soft mount, which implies that file system calls will fail A soft mount, which implies that file system calls will fail
after \fBRetry\fR round trip timeout intervals. after
.Ar retrycnt
round trip timeout intervals.
.It Fl t .It Fl t
Set the initial retransmit timeout to the specified value. Set the initial retransmit timeout to the specified value.
May be useful for fine tuning UDP mounts over internetworks May be useful for fine tuning UDP mounts over internetworks
@ -300,7 +310,9 @@ Try increasing the interval if
.Xr nfsstat 1 .Xr nfsstat 1
shows high retransmit rates while the file system is active or reducing the shows high retransmit rates while the file system is active or reducing the
value if there is a low retransmit rate but long response delay observed. value if there is a low retransmit rate but long response delay observed.
(Normally, the -d option should be specified when using this option to manually (Normally, the
.Fl d
option should be specified when using this option to manually
tune the timeout tune the timeout
interval.) interval.)
.It Fl w .It Fl w