osxfuse / sshfs

File system based on the SSH File Transfer Protocol
http://fuse.sourceforge.net
GNU General Public License v2.0
1.14k stars 128 forks source link

Why does this exist as a separate, perhaps older version of sshfs? #69

Open poetaman opened 2 years ago

poetaman commented 2 years ago

In your own documentation you point to latest version of sshfs... https://github.com/osxfuse/sshfs#latest-version, so why does this repository exist, given it is also an older version that doesn't seem to be getting any updates from upstream.

Also, the website states that there is a powerpc+intel binary for version 2.5.0 of ssfsh is available for install. Is that supposed to work with Apple Silicon M1 Macs? If not can we please move on to arm+intel binary? And perhaps even use a more recent version of sshfs in the process, I see its already at version 3.7.2??

bfleischer commented 2 years ago

In your own documentation you point to latest version of sshfs... https://github.com/osxfuse/sshfs#latest-version, so why does this repository exist, given it is also an older version that doesn't seem to be getting any updates from upstream.

It's not "my own" documentation. It's the unmodified README file from upstream. The repository https://github.com/osxfuse/sshfs contains the source code of the (old, but working) sshfs 2.5.0 build that is available on https://osxfuse.github.io.

Also, the website states that there is a powerpc+intel binary for version 2.5.0 of ssfsh is available for install. Is that supposed to work with Apple Silicon M1 Macs?

Yes, it works fine on Apple Silicon Macs using Rosetta.

If not can we please move on to arm+intel binary? And perhaps even use a more recent version of sshfs in the process, I see its already at version 3.7.2??

Currently, I have my hands full with macFUSE. Right now the latest version of sshfs that will work on macOS is 2.10. For sshfs 3.x libfuse 3.x will need to be ported to macOS first. Can you send some time working on sshfs?

balupton commented 2 years ago

Latest maintained repo is https://github.com/libfuse/sshfs

eengstrom commented 2 years ago

As a stop-gap, you can compile the "osxfuse" version (https://github.com/osxfuse/sshfs) for native Apple Silicon if you comment-out or remove the #include <darwin_fuse.h> line.

eengstrom commented 2 years ago

@bfleischer - can you say more about this:

Right now the latest version of sshfs that will work on macOS is 2.10. For sshfs 3.x libfuse 3.x will need to be ported to macOS first.

... specifically, as you note, libfuse will have to be ported. Currently, MacFuse is providing libfuse[2]. Have you looked at how hard it would be to port libfuse3? I'm not sure where to look for the version that MacFuse is providing.