Closed griff closed 8 months ago
I could also add the MacFUSE specific flags to this PR if you want them.
oh, that's a lot of #[cfg(not(target_os = "macos"))]
. Does it make sense to split them into src/abi/fuse_abi_linux.rs
and src/abi/fuse_abi_macos.rs
? /cc @liubogithub @jiangliu
@bergwolf That is really up to you. If you want it split I will split it.
@griff Please help to split it, thanks! I think it makes the code more clear.
oh, that's a lot of
#[cfg(not(target_os = "macos"))]
. Does it make sense to split them intosrc/abi/fuse_abi_linux.rs
andsrc/abi/fuse_abi_macos.rs
? /cc @liubogithub @jiangliu
It would better to split for archs.
@griff Please help to split it, thanks! I think it makes the code more clear.
Done
MacFUSE is a fork of FUSE version 19 with its own custom flags that sometimes clash with later versions of FUSE. E.g. INIT_EXT flags clashes with MacFUSE flag VOL_RENAME.
So to avoid confussion this change disables all flags and hopefully all functionality not supported on MacOS. This applies both to MacFUSE and FUSE-T because FUSE-T is built to be compatible with MacFUSE and not upstream FUSE.