cberner / fuser

Filesystem in Userspace (FUSE) for Rust
MIT License
836 stars 114 forks source link

Windows compatibility (Dokany)?! #129

Closed nschoellhorn closed 1 year ago

nschoellhorn commented 3 years ago

Hi, first of all, thanks for forking and keeping this alive! I just switched my project gdrivefs-rust to this library instead of the original one since this looks a lot more maintained and you also added some of the newer features of FUSE, which I really appreciate.

I was wondering if there's any chance that you might make this library compatible to Dokany, so this can be used in software for Windows as well? Most likely, this means removing the references to the Unix/Linux-native stuff (e.g. in fuse-sys), like you already began to do for being able to build without libfuse.

Most interesting thing here will be mounting I guess, because as far as I understood, when building without "libfuse" feature, you are trying to mount via the binary installed on the system and the Dokany distribution doesn't install one I guess.

What are your thoughts on adding Windows compatibility? Thanks!

cberner commented 3 years ago

Ya, I'd be happy to merge a PR for that, as long as it doesn't add too much maintenance burden. It sounds like may have a compatibility layer, so this might be as simple as changing build.rs to link against it like is done for MacFUSE.

Frando commented 3 years ago

There's also https://github.com/billziss-gh/winfuse which implements the low-level FUSE API. See also https://github.com/zargony/fuse-rs/issues/76

davystrong commented 3 years ago

I would also love to see this. I tried setting up winfuse but fuser uses the users package, which seems to be Unix specific.

hopkings2008 commented 2 years ago

is winfuse supported now?and if windows is not supported now, do we have plan to support it in future?

cberner commented 1 year ago

Closing due to inactivity, but feel free to re-open if you're still working on this.