Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [cifs-utils PATCH] manpage: update mount.cifs manpage with info about default version being mounted
@ 2017-10-29 10:58 Jeff Layton
       [not found] ` <20171029105809.8954-1-jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Layton @ 2017-10-29 10:58 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA
  Cc: pshilov-0li6OtcxBFHby3iVrkZq2A, aaptel-IBi9RG/b67k

From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>

Signed-off-by: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
---
 mount.cifs.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/mount.cifs.rst b/mount.cifs.rst
index 9714f795fe76..e70bf36fa32e 100644
--- a/mount.cifs.rst
+++ b/mount.cifs.rst
@@ -517,7 +517,7 @@ prefixpath=arg
 vers=arg
   SMB protocol version. Allowed values are:
 
-  - 1.0 - The classic CIFS/SMBv1 protocol. This is the default.
+  - 1.0 - The classic CIFS/SMBv1 protocol.
   - 2.0 - The SMBv2.002 protocol. This was initially introduced in
     Windows Vista Service Pack 1, and Windows Server 2008. Note that
     the initial release version of Windows Vista spoke a slightly
@@ -529,6 +529,9 @@ vers=arg
   Note too that while this option governs the protocol version used, not
   all features of each version are available.
 
+  In kernels v4.13 and later, the default is ``3.0``. In kernels prior to
+  v4.13, the default is ``1.0``.
+
 --verbose
   Print additional debugging information for the mount. Note that this
   parameter must be specified before the ``-o`` . For example::
@@ -857,4 +860,3 @@ Steve French
 The maintainer of the Linux cifs vfs and the userspace tool mount.cifs
 is Steve French. The Linux CIFS Mailing list is the preferred place to
 ask questions regarding these programs.
-
\ No newline at end of file
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [cifs-utils PATCH] manpage: update mount.cifs manpage with info about default version being mounted
       [not found] ` <20171029105809.8954-1-jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2017-10-30  8:13   ` ronnie sahlberg
  2017-10-30 11:01   ` Aurélien Aptel
  1 sibling, 0 replies; 3+ messages in thread
From: ronnie sahlberg @ 2017-10-30  8:13 UTC (permalink / raw)
  To: Jeff Layton
  Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Pavel Shilovskiy, Aurélien Aptel

Reviewed-by: Ronnie Sahlberg <lsahlber-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>


On Sun, Oct 29, 2017 at 8:58 PM, Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
>
> Signed-off-by: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
> ---
>  mount.cifs.rst | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/mount.cifs.rst b/mount.cifs.rst
> index 9714f795fe76..e70bf36fa32e 100644
> --- a/mount.cifs.rst
> +++ b/mount.cifs.rst
> @@ -517,7 +517,7 @@ prefixpath=arg
>  vers=arg
>    SMB protocol version. Allowed values are:
>
> -  - 1.0 - The classic CIFS/SMBv1 protocol. This is the default.
> +  - 1.0 - The classic CIFS/SMBv1 protocol.
>    - 2.0 - The SMBv2.002 protocol. This was initially introduced in
>      Windows Vista Service Pack 1, and Windows Server 2008. Note that
>      the initial release version of Windows Vista spoke a slightly
> @@ -529,6 +529,9 @@ vers=arg
>    Note too that while this option governs the protocol version used, not
>    all features of each version are available.
>
> +  In kernels v4.13 and later, the default is ``3.0``. In kernels prior to
> +  v4.13, the default is ``1.0``.
> +
>  --verbose
>    Print additional debugging information for the mount. Note that this
>    parameter must be specified before the ``-o`` . For example::
> @@ -857,4 +860,3 @@ Steve French
>  The maintainer of the Linux cifs vfs and the userspace tool mount.cifs
>  is Steve French. The Linux CIFS Mailing list is the preferred place to
>  ask questions regarding these programs.
> -
> \ No newline at end of file
> --
> 2.13.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [cifs-utils PATCH] manpage: update mount.cifs manpage with info about default version being mounted
       [not found] ` <20171029105809.8954-1-jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  2017-10-30  8:13   ` ronnie sahlberg
@ 2017-10-30 11:01   ` Aurélien Aptel
  1 sibling, 0 replies; 3+ messages in thread
From: Aurélien Aptel @ 2017-10-30 11:01 UTC (permalink / raw)
  To: Jeff Layton, linux-cifs-u79uwXL29TY76Z2rM5mHXA
  Cc: pshilov-0li6OtcxBFHby3iVrkZq2A

Hi Jeff,

Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> writes:
> +  In kernels v4.13 and later, the default is ``3.0``. In kernels prior to
> +  v4.13, the default is ``1.0``.
> +

IIUC, the current default is actually to negotiate and automatically use
2.1 or above.

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-30 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-29 10:58 [cifs-utils PATCH] manpage: update mount.cifs manpage with info about default version being mounted Jeff Layton
     [not found] ` <20171029105809.8954-1-jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-10-30  8:13   ` ronnie sahlberg
2017-10-30 11:01   ` Aurélien Aptel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox