Hi!

If anyone is interested, here is a patch to mount_nfs' man page, to include
mount_nfs(8) parameters' long versions (the fstab(5) style long versions).
Perhaps referring to the options as "long versions" is not quite right, but
I couldn't come up with anything different.


Index: mount_nfs.8
===================================================================
RCS file: /cvs/src/sbin/mount_nfs/mount_nfs.8,v
retrieving revision 1.39
diff -u -r1.39 mount_nfs.8
--- mount_nfs.8 6 Jun 2009 20:58:50 -0000       1.39
+++ mount_nfs.8 13 Jun 2009 12:10:54 -0000
@@ -70,22 +70,26 @@
 .Bl -tag -width Ds
 .It Fl 2
 Use the NFS Version 2 protocol.
+The long version of this option is "nfsv2".
 .It Fl 3
 Use the NFS Version 3 protocol.
 The default is to try version 3 first, and
 fall back to version 2 if the mount fails.
+The long version of this option is "nfsv3".
 .It Fl a Ar maxreadahead
 Set the read-ahead count to the specified value.
 This may be in the range of 0\-4, and determines how many blocks
 will be read ahead when a large file is being read sequentially.
 Trying a value greater than 1 for this is suggested for
 mounts with a large bandwidth-delay product.
+The long version of this option is "readahead".
 .It Fl b
 If an initial attempt to contact the server fails, fork off a child to keep
 trying the mount in the background.
 Useful for
 .Xr fstab 5 ,
 where the file system mount is not critical to multiuser operation.
+The long version of this option is "bg".
 .It Fl c
 For UDP mount points, do not do a
 .Xr connect 2 .
@@ -94,6 +98,7 @@
 It may also be required for servers
 with more than one IP address (only necessary if replies come from
 an address other than the one specified in the mount request).
+The long version of this option is "noconn".
 .It Fl d
 Turn off the dynamic retransmit timeout estimator.
 This may be useful for UDP mounts that exhibit high retry rates,
@@ -106,15 +111,18 @@
 group list size of 16, as specified in RFC 1057.
 Try 8, if users in a lot of groups cannot get a response from the mount
 point.
+The long version of this option is "maxgrouplist".
 .It Fl I Ar readdirsize
 Set the readdir read size to the specified value.
 The value should normally be a multiple of
 .Dv DIRBLKSIZ
 that is less than or equal to the read size for the mount.
+The long version of this option is "rdirsize".
 .It Fl i
 Make the mount interruptible, which implies that file system calls that
 are delayed due to an unresponsive server will fail with EINTR when a
 termination signal is posted for the process.
+The long version of this option is "intr".
 .It Fl l
 Used with NFSV3 to specify that the
 .Dq readdir plus
@@ -127,6 +135,7 @@
 Probably
 most useful for client to server network interconnects with a large
 bandwidth-delay product.
+The long version of this option is "rdirplus".
 .It Fl o Ar options
 Options are specified with a
 .Fl o
@@ -170,6 +179,7 @@
 .It Fl R Ar retrycnt
 Set the retry count for doing the mount to the specified value.
 The default is 10000.
+The long version of this option is "retrycnt".
 .It Fl r Ar readsize
 Set the read data size to the specified value.
 It should normally be a power of 2 greater than or equal to 1024.
@@ -185,15 +195,18 @@
 See the
 .Fl w
 option as well.
+The long version of this option is "rsize".
 .It Fl s
 A soft mount, which implies that file system calls will fail
 after
 .Ar retrans
 round trip timeout intervals have been reached (see
 .Fl x ) .
+The long version of this option is "soft".
 .It Fl T
 Use TCP instead of UDP.
 Note that TCP may not be supported by some very old NFS servers.
+The long version of this option is "tcp".
 .It Fl t Ar timeout
 Set the initial retransmit timeout to the specified value in milliseconds.
 May be useful for fine tuning UDP mounts over internetworks
@@ -207,11 +220,13 @@
 option should be specified when using this option to manually
 tune the timeout
 interval.)
+The long version of this option is "timeo".
 .It Fl U
 Force the mount protocol to use UDP, even for TCP NFS mounts.
 (Necessary for some old
 .Bx
 servers.)
+The long version of this option is "udp".
 .It Fl w Ar writesize
 Set the write data size to the specified value.
 Ditto the comments w.r.t. the
@@ -225,9 +240,11 @@
 .Fl w
 options should only be used as a last ditch effort at improving performance
 when mounting servers that do not support TCP mounts.
+The long version of this option is "wsize".
 .It Fl x Ar retrans
 Set the retransmit timeout count for soft mounts to the specified value.
 Defaults to 10.
+The long version of this option is "retrans".
 .El
 .Pp
 In versions prior to



Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

Reply via email to