From patchwork Thu Nov 18 18:30:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Shilovsky X-Patchwork-Id: 337091 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAIIWo24011566 for ; Thu, 18 Nov 2010 18:32:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760114Ab0KRScc (ORCPT ); Thu, 18 Nov 2010 13:32:32 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:46084 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760120Ab0KRSca (ORCPT ); Thu, 18 Nov 2010 13:32:30 -0500 Received: by ewy8 with SMTP id 8so2188487ewy.19 for ; Thu, 18 Nov 2010 10:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:x-mailer; bh=d4ZU1sxbSII0RLg4UXkadlQ+9lOwmWrkmjPEFyNwtuk=; b=ElxAP7DWQzr3NZ6ohMgOJpmAYvW4OCfH6lw1GuOBK8P+K9vdYYa74w/9xiHaRFIHRM S0BUcmR5uZ96clhDoSOs7nO2AJ//BY7kt9RM31zJmU1QM2UeplJmtx5GqsaUNRDRrp1v RDqaiL1V28gP2WFMrPSX8trzdDyD+7hqGblYs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; b=mCM9Ch2TX///aFA6x0kxAFZ2huK8W8HnH1zvVihQ4XRH4bMdaLsu0+nI8+YS/g9stv oX0cyZP3tV/jdUtyrGnM3zSlF8FQg7I3zK7SS5BtpLluw6ld+AyA9tHmmVlyRmxNwa9m 4JJWO9oAJU8nt9L86mlJmOFaoiNFR1JZvlwJo= Received: by 10.14.119.205 with SMTP id n53mr612061eeh.37.1290105149317; Thu, 18 Nov 2010 10:32:29 -0800 (PST) Received: from localhost.localdomain (PPPoE-78-29-123-58.san.ru [78.29.123.58]) by mx.google.com with ESMTPS id b52sm647522eei.1.2010.11.18.10.32.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Nov 2010 10:32:28 -0800 (PST) From: Pavel Shilovsky To: linux-cifs@vger.kernel.org Subject: [PATCH] manpage: change port option description (try #2) Date: Thu, 18 Nov 2010 21:30:10 +0300 Message-Id: <1290105010-2915-1-git-send-email-piastryyy@gmail.com> X-Mailer: git-send-email 1.7.3.2 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 18 Nov 2010 18:32:51 +0000 (UTC) diff --git a/mount.cifs.8 b/mount.cifs.8 index 7d2bf69..bde0770 100644 --- a/mount.cifs.8 +++ b/mount.cifs.8 @@ -132,7 +132,7 @@ instructs the client to ignore any gid provided by the server for files and dire .PP port=\fIarg\fR .RS 4 -sets the port number on the server to attempt to contact to negotiate CIFS support\&. If the CIFS server is not listening on this port or if it is not specified, the default ports will be tried i\&.e\&. port 445 is tried and if no response then port 139 is tried\&. +sets the port number on which the client will attempt to contact the CIFS server\&. If this value is specified, look for an existing connection with this port, and use that if one exists\&. If one doesn't exist, try to create a new connection on that port\&. If that connection fails, return an error\&. If this value isn't specified, look for an existing connection on port 445 or 139\&. If no such connection exists, try to connect on port 445 first and then port 139 if that fails\&. Return an error if both fail\&. .RE .PP servern=\fIarg\fR