Skip to content

fuse3: port btfs to libfuse 3.x#94

Merged
johang merged 1 commit intojohang:masterfrom
mikelolasagasti:fuse3
May 11, 2025
Merged

fuse3: port btfs to libfuse 3.x#94
johang merged 1 commit intojohang:masterfrom
mikelolasagasti:fuse3

Conversation

@mikelolasagasti
Copy link
Contributor

  • configure.ac: detect fuse3 ≥ 3.0
  • btfs.cc: set FUSE_USE_VERSION 31, update callback signatures, use fuse_main_real()
  • docs/CI: switch packages to libfuse3-dev (Linux, macOS)

Fixes #92

@mikelolasagasti
Copy link
Contributor Author

I tested this in Fedora 42 and works fine. Used Ubuntu-22.04 as reference to update the package naming in README and for macosx I just changed the name of the package as suggested by brew, but did not check if it works.

@mikelolasagasti
Copy link
Contributor Author

autoupdate updated AC_PREREQ([2.69]) requirement to 2.72, but this fails with ubuntu:latest, so this new update reverts to 2.69.

@mikelolasagasti
Copy link
Contributor Author

And maybe it makes sense to bump the version of btfs to 3.0 to reflect this change?

@johang
Copy link
Owner

johang commented May 11, 2025

I'm thinking either bump to 3.0 or ifdef so fuse2 is still supported. Leaning towards bump to 3.0.

@johang
Copy link
Owner

johang commented May 11, 2025

Oh, 22.04 already has fuse3. Then I'll probably merge your patch and bump to 3.0.

- configure.ac: detect fuse3 ≥ 3.0
- btfs.cc: set FUSE_USE_VERSION 31 and update callback signatures
- docs/CI: switch packages to libfuse3-dev (Linux, macOS)

Fixes johang#92

Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
@johang johang merged commit e0659b0 into johang:master May 11, 2025
3 checks passed
@johang
Copy link
Owner

johang commented May 11, 2025

Thanks for the patch!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please support fuse3

2 participants