Date: Fri, 9 Aug 1996 20:31:37 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: bwithrow@BayNetworks.com (Robert Withrow) Subject: Re: 2.1.5 Bug: Manual refers to manual refers to manual refers to... Message-ID: <199608091831.UAA04086@uriah.heep.sax.de> In-Reply-To: <199608091215.IAA10249@tuva.engeast.baynetworks.com> from Robert Withrow at "Aug 9, 96 08:15:33 am"
next in thread | previous in thread | raw e-mail | index | archive | help
As Robert Withrow wrote:
> Can someone tell me where to *really* find the nfs mount options?
In both man pages. The generic options (ro, rw, nosuid etc.) are
explained in mount(8), while the NFS mount options are explained in
mount_nfs(8):
The options are:
-3 Use the NFS Version 3 protocol (Version 2 is the default).
-D Used with NQNFS to set the ``dead server threshold'' to the spec-
-I Set the readdir read size to the specified value. The value
-K Pass Kerberos authenticators to the server for client-to-server
-L Used with NQNFS to set the lease term to the specified number of
-P Use a reserved socket port number. This is useful for mounting
-R Set the retry count for doing the mount to the specified value.
-T Use TCP transport instead of UDP. This is recommended for
-U Force the mount protocol to use UDP transport, even for TCP NFS
-a Set the read-ahead count to the specified value. This may be in
-b If an initial attempt to contact the server fails, fork off a
-c For UDP mount points, do not do a connect(2). This must be used
-d Turn off the dynamic retransmit timeout estimator. This may be
-g Set the maximum size of the group list for the credentials to the
-i Make the mount interruptible, which implies that file system
-l Used with NQNFS and NFSV3 to specify that the ReaddirPlus RPC
-m Set the Kerberos realm to the string argument. Used with the -K
-q Use the leasing extensions to the NFS Version 3 protocol to main-
-r Set the read data size to the specified value. It should normal-
-s A soft mount, which implies that file system calls will fail af-
-t Set the initial retransmit timeout to the specified value. May
-w Set the write data size to the specified value. Ditto the com-
-x Set the retransmit timeout count for soft mounts to the specified
That is, you can:
mount -t nfs -o -r=1024,-w=1024,-i,-b machine:/resource /mountpoint
^^^^^^^^^^^^^^^^^^^^^
These are the options as mentioned above.
You can also say
mount -t nfs -o intr,bg machine:/resource /mountpoint
Both of these options are not explained, we've still got an open PR
for it (735, responsible: wollman ;), but these options are considered
legacy that will not be explained. (At least, that's the net result
from the discussion as you can read in GNATS.)
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608091831.UAA04086>
