Skip to content

libfuse >=3.1.0? #390

Closed
Closed

Description

@ilovezfs

sshfuse 3.0.0 requires libfuse 3.1.0 or newer, but FUSE for macOS provides 2.9.7. Is there any work being done yet on getting compatibility with the current libfuse merged into FUSE for macOS?

See libfuse/sshfs#67 and Homebrew/homebrew-core#15418.

Activity

  1. Nikratio commented on Jul 8, 2017

    @Nikratio

    libfuse maintainer here. I would expect that most of the libfuse 2.x -> 3.x changes can also be applied to OSXFUSE - most of the new features (readdirplus, write-back cache) are still optional.

    Please shout loudly if not, I'm amenable to helping on the libfuse side.

  2. bfleischer commented on Jul 10, 2017

    @bfleischer
    Member

    Bringing libfuse3 to macOS is on my todo list but so far I have not had time to look into it. I would like to use this opportunity to clean up some of the macOS specific stuff in libfuse, among other things. This would fit much better in a FUSE for macOS 4.0 release than a 3.x release.

    Are there any other file systems that require libfuse3 at this point besides sshfs 3.0? This is the first libfuse3 request I've received.

  3. self-assigned this
    on Jul 10, 2017
  4. Nikratio commented on Jul 10, 2017

    @Nikratio

    Not that I'm aware of, no. I expect that the majority of (maintained) filesystems will eventually migrate to take advantage of the new features, but it's probably going to take quite some time.

  5. derappelt commented on Aug 28, 2018

    @derappelt

    Is there any progress on implementing libfuse 3?
    Is a FUSE for macOS 4.0 release in planing?

  6. manuelcherubim commented on Mar 13, 2019

    @manuelcherubim

    Since the current implementation of sshfs for osx

    -contains obvious and major bugs (unusable for me through slow speed and Umlaut issues)
    -isn't maintained and outdated (last version 2.5.0 from 2014)
    -leads to issues on osxfuse like: "SSHFS release on osxfuse homepage is quite old, and is confusing me" #404

    a libfuse3 upgrade is highly requested so the current releases of libfuse SSHFS could be run on MacOS.

  7. overheadhunter commented on Mar 13, 2019

    @overheadhunter

    Are there any other file systems that require libfuse3 at this point besides sshfs 3.0? This is the first libfuse3 request I've received.

    Cryptomator would benefit from faster directory listings, if readdirplus could be implemented. That said, we would like to create a libfuse Java binding using Panama, which is currently scheduled for Java 13 in late 2019.

  8. LeeBinder commented on Aug 18, 2019

    @LeeBinder

    I also kindly request libfuse3 for macOS.

    May I ask what the problems are - what are the hurdles?

  9. vict0rsch commented on Nov 13, 2019

    @vict0rsch

    Same question as @LeeBinder : has the project been discontinued or something? I also need this (for sshfs)

  10. albertz commented on Mar 22, 2020

    @albertz

    Is there any update here? The latest SSHFS version is 3.7.0.

  11. ThomasWaldmann commented on Oct 10, 2020

    @ThomasWaldmann

    borgbackup currently uses python-llfuse (which is unmaintained and uses libfuse 2).
    The successor project pyfuse3 requires libfuse3.

    So, to keep borg running on macOS, we'll need libfuse3 api at some time in the not so far future.

  12. AaronDavidSchneider commented on Feb 8, 2021

    @AaronDavidSchneider

    Another kind reminder that it would be great to have libfuse3 support in osxfuse

  13. n0kovo commented on May 17, 2021

    @n0kovo

    Just chiming in to say that this would make a lot of people including myself very happy. Any progress since 2017?

  14. quantimnot commented on Sep 10, 2021

    @quantimnot

    containers/fuse-overlayfs requires fuse3

  15. eengstrom commented on May 7, 2022

    @eengstrom

    @bfleischer - It looks as if there has been steady progress on version 4.x of macFuse (developer releases), and I'm wondering if that version supports all the libfuse3 features? If there is a pointer to a 4.x readme or changelog, that'd be great too.

    At the moment, I'm running a convoluted set of hand-compiled versions of sshfs and other fuse based tools on top of macFuse 4.2.4, and afraid to upgrade to even 4.2.5 as the tower of blocks feels mighty unsteady. But if macFuse 4.x is libfuse3 compat, and sshfs 3.x is likely to work, I can probably take the chance on upgrading to a dev release and update/recompile the other fuse modules.

    Thanks

  16. panfengli-work commented on Mar 29, 2023

    @panfengli-work

    how to use sshfs right now?

  17. mohd-akram commented on Jul 17, 2023

    @mohd-akram

    Any update on libfuse3 support?

  18. leonid-s-usov commented on Feb 22, 2024

    @leonid-s-usov

    It looks as if there has been steady progress on version 4.x of macFuse (developer releases)

    @eengstrom which developer releases are you talking about? I don't see a 4.x branch anywhere

  19. DaOfficialRolex commented on Jun 19, 2024

    @DaOfficialRolex

    It looks as if there has been steady progress on version 4.x of macFuse (developer releases)

    @eengstrom which developer releases are you talking about? I don't see a 4.x branch anywhere

    @leonid-s-usov
    4.7.2 was the last developer release for MacFuse. People are asking for libfuse3 support for sshfs and other filesystems, but libfuse4 has been released for sometime now.

    @bfleischer While I understand that you are one person and also have legitimate reasons for close sourcing this project. I would please ask that you have a better way of addressing your changelogs so other individuals are aware of implementations you have made.

  20. bfleischer commented on Jun 20, 2024

    @bfleischer
    Member

    @DaOfficialRolex I publish release notes for every macFUSE release. libfuse is completely open source. This includes my code changes. I'm not sure what you mean by me "having a better way of addressing my changelogs"? Could you elaborate?

  21. DaOfficialRolex commented on Jun 20, 2024

    @DaOfficialRolex

    @DaOfficialRolex I publish release notes for every macFUSE release. libfuse is completely open source. This includes my code changes. I'm not sure what you mean by me "having a better way of addressing my changelogs"? Could you elaborate?

    @bfleischer I was mostly talking about macFuse being closed sourced not libfuse. For addressing changelogs I should be a little more clearer in what I was trying to say, which is that features that you are working on or plan on to work on should have a tracker/progress follower (This doesn't have to detailed in terms of where you are at with development of said features). So it is a bit clearer what is being worked on or added as a feature. It also just provides clearer indication on that you are aware of it. Which should help with individuals from opening multiple duplicated issues. I understand that github tags are being used, but I feel people tend to overlook those things when they are commentating on issues.

    I also recognize being asked to do what I am stating above takes time and also diverts time away from other things that you have going on. So I don't think it should be a priority or even really considered as a task worth doing, but rather just a observation which may help in better communicating where the project is going or what is being done. Since I feel that may lessen the burden on you as maintainer of such a popular tool.

  22. added this to the 4.10.0 milestone on Mar 6, 2025
  23. bfleischer commented on Mar 6, 2025

    @bfleischer
    Member

    The upcoming macFUSE 4.10.0 release will include an experimental port of libfuse 3.17 for macOS.

  24. bfleischer commented on Mar 7, 2025

    @bfleischer
    Member

    I've just released macFUSE 4.10.0. Please open a new ticket in case you run into any issues with libfuse 3 on macOS.

  25. brevilo commented on Mar 8, 2025

    @brevilo

    The upcoming macFUSE 4.10.0 release will include an experimental port of libfuse 3.17 for macOS.

    Sounds great!

    Can you share some thoughts on in which way this port should be considered as "experimental"?

  26. bfleischer commented on Mar 8, 2025

    @bfleischer
    Member

    It should be considered experimental because it’s the first release of libfuse 3 that is compatible with macOS. Porting libfuse 3 to macOS required substantial code changes.

    From the release notes:

    Some macOS specific features require libfuse API extensions that are not compatible with existing file systems that are based on vanilla libfuse 3.

    For maximum compatibility the FUSE_DARWIN_ENABLE_EXTENSIONS flag has has been introduced. Setting FUSE_DARWIN_ENABLE_EXTENSIONS to 0, when compiling a file system, disables macOS specific API extensions. By default, macOS specific API modifications and extensions are enabled.

    libfuse 3 might not be binary stable, yet. This means a libfuse 3 file system that was compiled with macFUSE 4.10.0 might need to be recompiled to work with future macFUSE releases.

    The purpose of the 4.10.0 release is to give users and developers a chance to test libfuse 3 on macOS and for me to receive real-world feedback.

  27. brevilo commented on Mar 8, 2025

    @brevilo

    Thanks for those details! Keep it up 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions