If I try to mount using
sshfs -o allow_other,default_permissions user@server:/dir-with-lots-of-subprojects ~/projects
then it's taking an unacceptably long time (> 10 seconds, and perhaps even more, so I killed it because my patience didn't allow it)
However, if I use
sshfs -o allow_other,default_permissions user@server:/dir-with-lots-of-subprojects/specific-project ~/specific-project
Then everything happens fast.
I'm assuming every file has to be scanned and indexed on a mount and that's why the previous operation is taking so long. Can this be avoided? Are there other options (like NFS) which are immune to this?
/dir-with-lots-of-projectsdirectory. Use subdirectories, e.g./dir-with-lots-of-projects/projects-beginning-with-A,/dir-with-lots-of-projects/projects-beginning-with-B, etc. – waltinator Dec 05 '20 at 00:24