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: 10034861 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EAFDA600C5 for ; Tue, 31 Oct 2017 16:02:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D36E428BC9 for ; Tue, 31 Oct 2017 16:02:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7DFF28A75; Tue, 31 Oct 2017 16:02:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F99D28BC9 for ; Tue, 31 Oct 2017 16:02:29 +0000 (UTC) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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