Blame SOURCES/0018-mount.cifs-Add-various-missing-parms-from-the-help-t.patch

75f41f
From 3c6a5d30cb3eb3f2f12415c1797b8f7802652b17 Mon Sep 17 00:00:00 2001
75f41f
From: Steve French <stfrench@microsoft.com>
75f41f
Date: Tue, 2 Apr 2019 21:18:27 -0500
75f41f
Subject: [PATCH 18/36] mount.cifs Add various missing parms from the help text
75f41f
75f41f
When you type mount.cifs --help there were more than 40 mount parms
75f41f
missing. Add 12 of the more common ones to what is displayed by help.
75f41f
75f41f
Signed-off-by: Steve French <stfrench@microsoft.com>
75f41f
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
75f41f
(cherry picked from commit 83c6472020afc3db0c63b65e7b67d65a61f3a12e)
75f41f
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
75f41f
---
75f41f
 mount.cifs.c | 14 +++++++++++---
75f41f
 1 file changed, 11 insertions(+), 3 deletions(-)
75f41f
75f41f
diff --git a/mount.cifs.c b/mount.cifs.c
75f41f
index 9370f2e..d921fed 100644
75f41f
--- a/mount.cifs.c
75f41f
+++ b/mount.cifs.c
75f41f
@@ -269,20 +269,28 @@ static int mount_usage(FILE * stream)
75f41f
 	fprintf(stream,
75f41f
 		"\n\tmapchars,nomapchars,nolock,servernetbiosname=<SRV_RFC1001NAME>");
75f41f
 	fprintf(stream,
75f41f
-		"\n\tdirectio,nounix,cifsacl,sec=<authentication mechanism>,sign,seal,fsc");
75f41f
+		"\n\tdirectio,nounix,cifsacl,sec=<authentication mechanism>,sign,seal,fsc,");
75f41f
+	fprintf(stream,
75f41f
+		"\n\tsnapshot=<time>,nosharesock,persistenthandles,resilienthandles,rdma,");
75f41f
+	fprintf(stream,
75f41f
+		"\n\tvers=<smb_dialect>,cruid");
75f41f
 	fprintf(stream,
75f41f
 		"\n\nOptions not needed for servers supporting CIFS Unix extensions");
75f41f
 	fprintf(stream,
75f41f
 		"\n\t(e.g. unneeded for mounts to most Samba versions):");
75f41f
 	fprintf(stream,
75f41f
-		"\n\tuid=<uid>,gid=<gid>,dir_mode=<mode>,file_mode=<mode>,sfu");
75f41f
+		"\n\tuid=<uid>,gid=<gid>,dir_mode=<mode>,file_mode=<mode>,sfu,");
75f41f
+	fprintf(stream,
75f41f
+		"\n\tmfsymlinks,idsfromsid");
75f41f
 	fprintf(stream, "\n\nRarely used options:");
75f41f
 	fprintf(stream,
75f41f
 		"\n\tport=<tcpport>,rsize=<size>,wsize=<size>,unc=<unc_name>,ip=<ip_address>,");
75f41f
 	fprintf(stream,
75f41f
 		"\n\tdev,nodev,nouser_xattr,netbiosname=<OUR_RFC1001NAME>,hard,soft,intr,");
75f41f
 	fprintf(stream,
75f41f
-		"\n\tnointr,ignorecase,noposixpaths,noacl,prefixpath=<path>,nobrl");
75f41f
+		"\n\tnointr,ignorecase,noposixpaths,noacl,prefixpath=<path>,nobrl,");
75f41f
+	fprintf(stream,
75f41f
+		"\n\techo_interval=<seconds>,actimeo=<seconds>,max_credits=<credits>");
75f41f
 	fprintf(stream,
75f41f
 		"\n\nOptions are described in more detail in the manual page");
75f41f
 	fprintf(stream, "\n\tman 8 mount.cifs\n");
75f41f
-- 
75f41f
1.8.3.1
75f41f