From patchwork Tue Oct 31 16:02:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 832611 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-cifs-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=samba.org header.i=@samba.org header.b="eFRPEKVu"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yRGMV5LDFz9sPs for ; Wed, 1 Nov 2017 03:02:30 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751366AbdJaQC3 (ORCPT ); Tue, 31 Oct 2017 12:02:29 -0400 Received: from hr2.samba.org ([144.76.82.148]:47218 "EHLO hr2.samba.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751295AbdJaQC2 (ORCPT ); Tue, 31 Oct 2017 12:02:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org; s=42627210; h=Message-Id:Date:Cc:To:From; bh=9gvpdYsZEYCdx1GNvF8rxUe6xP2xsJNzPPTKQZspwQQ=; b=eFRPEKVuO0QMTlw0X7VAImi/9v RJTB1+uF6W7KfyICwsbJLVLqOzoJ3HJxQGsdOrgczSqWpy3CCFxvMx43a9rVIjpv/tKzDJvdCxOoG 3S/h0Fm3dQyX0oyaATkzWi4ay5OLZQ1OCx4KMYMvgjJa1ZykZMFxDqVo1yBxdSZIxwzc=; Received: from [127.0.0.2] (localhost [127.0.0.1]) by hr2.samba.org with esmtpsa (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim) id 1e9Yzh-0000vk-Ri; Tue, 31 Oct 2017 16:02:26 +0000 From: Jeff Layton To: linux-cifs@vger.kernel.org Cc: lsahlber@redhat.com, aaptel@suse.com, pshilov@microsoft.com Subject: [cifs-utils PATCH v2] manpage: update mount.cifs manpage with info about default version being mounted Date: Tue, 31 Oct 2017 12:02:24 -0400 Message-Id: <20171031160224.12523-1-jlayton@kernel.org> X-Mailer: git-send-email 2.13.6 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org From: Jeff Layton Signed-off-by: Jeff Layton --- mount.cifs.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Thanks Aurelien. I dropped Ronnie's Reviewed-by since this is a bit different. Let me know if you'd like me to add it back. diff --git a/mount.cifs.rst b/mount.cifs.rst index 9714f795fe76..01305df60651 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 client and server negotiate a version greater + than or equal to ``2.1``. 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