diff options
author | Steve French <stfrench@microsoft.com> | 2019-04-02 21:18:27 -0500 |
---|---|---|
committer | Pavel Shilovsky <pshilov@microsoft.com> | 2019-04-05 09:42:33 -0700 |
commit | 83c6472020afc3db0c63b65e7b67d65a61f3a12e (patch) | |
tree | d62b1db00b46827fba5f4bf53f5c3cf283bf78e3 /mount.cifs.c | |
parent | 98907475550ecd459cb6eae9787c53b7e032448d (diff) | |
download | cifs-utils-83c6472020afc3db0c63b65e7b67d65a61f3a12e.tar.gz cifs-utils-83c6472020afc3db0c63b65e7b67d65a61f3a12e.tar.bz2 cifs-utils-83c6472020afc3db0c63b65e7b67d65a61f3a12e.zip |
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>
Diffstat (limited to 'mount.cifs.c')
-rw-r--r-- | mount.cifs.c | 14 |
1 files 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"); |