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