Skip to contentSkip to conversation

mount.nfs: Update the mount.nfs(8) man page

PATCH In review Chuck Lever 1 participant 1 message Aug 9, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/5 mount.nfs: Update the mount.nfs(8) man page

Account for recent changes to the mount.nfs command.

---

 utils/mount/mount.c       |    4 ++--
 utils/mount/mount.nfs.man |   27 ++++++++-------------------
 2 files changed, 10 insertions(+), 21 deletions(-)
utils/mount/mount.c +2 -2
index a232519..94435c8 100644
@@ -270,7 +270,7 @@ fail_unlock:
 
 void mount_usage(void)
 {
-	printf(_("usage: %s remotetarget dir [-rvVwfnh] [-o nfsoptions]\n"),
+	printf(_("usage: %s remotetarget dir [-rvVwfnsh] [-o nfsoptions]\n"),
 		progname);
 	printf(_("options:\n"));
 	printf(_("\t-r\t\tMount file system readonly\n"));
@@ -279,7 +279,7 @@ void mount_usage(void)
 	printf(_("\t-w\t\tMount file system read-write\n"));
 	printf(_("\t-f\t\tFake mount, do not actually mount\n"));
 	printf(_("\t-n\t\tDo not update /etc/mtab\n"));
-	printf(_("\t-s\t\tTolerate sloppy mount options rather than failing.\n"));
+	printf(_("\t-s\t\tTolerate sloppy mount options rather than fail\n"));
 	printf(_("\t-h\t\tPrint this help\n"));
 	printf(_("\tnfsoptions\tRefer to mount.nfs(8) or nfs(5)\n\n"));
 }
utils/mount/mount.nfs.man +8 -19
index 231e04f..624358c 100644
@@ -3,7 +3,7 @@
 .SH NAME
 mount.nfs, mount.nfs4 \- mount a Network File System
 .SH SYNOPSIS
-.BI "mount.nfs" " remotetarget dir" " [\-rvVwfnh ] [\-t " version "] [\-o " options "]
+.BI "mount.nfs" " remotetarget dir" " [\-rvVwfnsh ] [\-o " options "]
 .SH DESCRIPTION
 .BR mount.nfs
 is a part of 
@@ -49,27 +49,17 @@ By default, an entry is created in
 .I /etc/mtab 
 for every mounted file system. Use this option to skip making an entry.
 .TP
+.BI "\-s"
+Tolerate sloppy mount options rather than fail.
+.TP
 .BI "\-h"
 Print help message.
 .TP
-.BI "version"
-Specify NFS file system version. Either
-.BR nfs4 
-or 
-.BR nfs.
-If the command is 
-.BR mount.nfs4 
-or the 
-.I vfstype 
-option of 
-.BR mount(8) 
-command is nfs4, then version 4 is used, else version 3 or 2 is used.
-.TP
 .BI "nfsoptions"
 Refer to 
-.BR nfs(5)
+.BR nfs (5)
 or
-.BR mount(8) 
+.BR mount (8) 
 manual pages.
 
 .SH NOTE
@@ -92,9 +82,8 @@ table of mounted file systems
 .BR nfs (5),
 .BR mount (8),
 
-.SH BUGS
-Please notify current developers of NFS of any bugs in the current software or mail [email protected]
+.SH "BUGS"
+Please notify [email protected] of any bugs found in this software.
 
 .SH "AUTHOR"
 Amit Gud <[email protected]>
-

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs