Skip to contentSkip to conversation

manpage: change port option description (try #2)

PATCH Applied Pavel Shilovsky 2 participants 3 messages Nov 18, 2010 – Jan 5, 2011 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 manpage: change port option description (try #2)

Provide changes according to new ip/port connection logic in CIFS.

---
 mount.cifs.8 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
mount.cifs.8 +1 -1
index 7d2bf69..bde0770 100644
@@ -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
Signature · 1 line
1.7.3.2

A message that is not in the archive (sent off-list or not yet received): 1290105010-2915-1-git-send-email-piastryyy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

2010/11/18 Pavel Shilovsky <[email protected]>:

Quoted 17 lines

Provide changes according to new ip/port connection logic in CIFS.

---
 mount.cifs.8 |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
mount.cifs.8 +0 -0
index 7d2bf69..bde0770 100644
@@ -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

mount.cifs.8 +1 -1
-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\&.
Quoted 7 lines

 .RE
 .PP
 servern=\fIarg\fR
--
1.7.3.2

Jeff, what's about this patch? The kernel part is already pushed to upstream.

Signature · 2 lines
Best regards,
Pavel Shilovsky.
Applied
#3 lore raw
In reply to a message not in the archive
Quoted 12 lines · On Thu, 18 Nov 2010 21:30:10 +0300 Pavel Shilovsky…

Provide changes according to new ip/port connection logic in CIFS.

---
 mount.cifs.8 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
mount.cifs.8 +0 -0
index 7d2bf69..bde0770 100644

mount.cifs.8 instructs the client to ignore any gid provided by the server for files and dire · line 138

Quoted 8 lines
mount.cifs.8 +1 -1
@@ -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

Pushed to cifs-utils master branch. Should make 4.8.

Signature · 1 line
Jeff Layton <[email protected]>