From: Miklos S. <mi...@sz...> - 2008-11-19 19:51:05
|
On Wed, 19 Nov 2008, Rolf F. Katzenberger wrote: > I'd like to know a little more about the "re" in the "reconnect" option. > > Background: > > - WLAN > - notebook turns on server via wake-on-LAN > - notebook uses libpam-mount & sshfs to mount server directory > > Mounting works when WLAN-connection is established and login occurs > *after* this, so I assume the basic setup (including pam-mount handing > over credentials to sshfs) is ok. When login occurs *before* a network > connection is available, the server directory is not mounted, and no > "re"-connect occurs. > > Question: does "re"-connect imply that a connection must have been > established upon the first try? And if that wasn't successful, no > connection will *ever* be made? Right, currently that is implied. > Or does sshfs retry to connect in regular intervals, even if it > wasn't successful the first time? No, and even when it was first succesful it won't try to reconnect at regular intervals after the connection was broken. It will only try to reconnect once for each request, and if the reconnection fails, the request simply returns with an error. After this no further retrying is done until yet another request is made. Miklos |