On Thu, 18 Nov 2010 10:48:05 +0300 Pavel Shilovsky <piastryyy@xxxxxxxxx> wrote: > Provide changes according to new ip/port connection logic in CIFS. > > Signed-off-by: Pavel Shilovsky <piastryyy@xxxxxxxxx> > --- > mount.cifs.8 | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/mount.cifs.8 b/mount.cifs.8 > index 7d2bf69..b7fe2ad 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 the server to attempt to contact to negotiate CIFS support\&. The sentence above is rather awkward. Maybe: "sets the port number on which the client will attempt to contact the CIFS server". If this value is specified, looking for an existing connection with this port and try to connect if no such a connection\&. If this value is specified, looking for an existing connection with this port and try to connect if no such a connection\&. Return an error if it fails\&. I "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, looking for an existing connection with 445 or 139 port\&. If no such a connection, try to connect with 445 port and if it fails - with 139 port\&. Return an error if both fail\&. "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 > -- > 1.7.3.2 > If my edits look good to you, I'll plan to merge them after Steve merges the kernel patches. Thanks, -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html