Sftpfs does not immediately connect to the server. It answers the ``version'' and ``attach'' styx messages without sftp connection. Only for later styx messages (e.g. ``walk'') will a connection be started. If the connection is idle for more than idlesecs seconds, and no files are open, the connection is closed. This makes it possible to start sftpfs at boot time without it using resources immediately. The default value is 15 minutes. With zero or a negative value sftpfs never disconnects idle connections.
Styx requests are handled ``asynchronously'', meaning they are translated into an sftp request and queued for later response. In the mean time a next styx styx is processed. This should result in decent performance of concurrent styx requests over high latency connections.
mount -c {sftpfs dis} /n/dis
SFTPFS(4 ) | Rev: Wed Feb 22 04:14:06 GMT 2023 |