|
|
5eee7b |
From 5bb799a0ea3c2cfbd75b767545acaf52690573cb Mon Sep 17 00:00:00 2001
|
|
|
5eee7b |
From: Pavel Shilovsky <pshilov@microsoft.com>
|
|
|
5eee7b |
Date: Wed, 3 Apr 2019 12:24:33 -0700
|
|
|
5eee7b |
Subject: [PATCH 19/36] mount.cifs: add more options to help message
|
|
|
5eee7b |
|
|
|
5eee7b |
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
|
|
|
5eee7b |
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
|
|
|
5eee7b |
(cherry picked from commit b6cb671d3b0df9c8daabc6f52ad9d5e689da4f37)
|
|
|
5eee7b |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
5eee7b |
---
|
|
|
5eee7b |
mount.cifs.c | 12 +++++++-----
|
|
|
5eee7b |
1 file changed, 7 insertions(+), 5 deletions(-)
|
|
|
5eee7b |
|
|
|
5eee7b |
diff --git a/mount.cifs.c b/mount.cifs.c
|
|
|
5eee7b |
index d921fed..c6a1bd6 100644
|
|
|
5eee7b |
--- a/mount.cifs.c
|
|
|
5eee7b |
+++ b/mount.cifs.c
|
|
|
5eee7b |
@@ -267,13 +267,13 @@ static int mount_usage(FILE * stream)
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
"\n\tsep=<char>,iocharset=<codepage>,suid,nosuid,exec,noexec,serverino,");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
- "\n\tmapchars,nomapchars,nolock,servernetbiosname=<SRV_RFC1001NAME>");
|
|
|
5eee7b |
+ "\n\tnoserverino,mapchars,nomapchars,nolock,servernetbiosname=<SRV_RFC1001NAME>");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
- "\n\tdirectio,nounix,cifsacl,sec=<authentication mechanism>,sign,seal,fsc,");
|
|
|
5eee7b |
+ "\n\tcache=<strict|none|loose>,nounix,cifsacl,sec=<authentication mechanism>,");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
- "\n\tsnapshot=<time>,nosharesock,persistenthandles,resilienthandles,rdma,");
|
|
|
5eee7b |
+ "\n\tsign,seal,fsc,snapshot=<time>,nosharesock,persistenthandles,resilienthandles,");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
- "\n\tvers=<smb_dialect>,cruid");
|
|
|
5eee7b |
+ "\n\trdma,vers=<smb_dialect>,cruid");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
"\n\nOptions not needed for servers supporting CIFS Unix extensions");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
@@ -290,7 +290,9 @@ static int mount_usage(FILE * stream)
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
"\n\tnointr,ignorecase,noposixpaths,noacl,prefixpath=<path>,nobrl,");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
- "\n\techo_interval=<seconds>,actimeo=<seconds>,max_credits=<credits>");
|
|
|
5eee7b |
+ "\n\techo_interval=<seconds>,actimeo=<seconds>,max_credits=<credits>,");
|
|
|
5eee7b |
+ fprintf(stream,
|
|
|
5eee7b |
+ "\n\tbsize=<size>");
|
|
|
5eee7b |
fprintf(stream,
|
|
|
5eee7b |
"\n\nOptions are described in more detail in the manual page");
|
|
|
5eee7b |
fprintf(stream, "\n\tman 8 mount.cifs\n");
|
|
|
5eee7b |
--
|
|
|
5eee7b |
1.8.3.1
|
|
|
5eee7b |
|