fuser icon indicating copy to clipboard operation
fuser copied to clipboard

Windows compatibility (Dokany)?!

Open nschoellhorn opened this issue 3 years ago • 3 comments

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!

nschoellhorn avatar Mar 07 '21 14:03 nschoellhorn

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.

cberner avatar Mar 07 '21 20:03 cberner

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

Frando avatar May 25 '21 00:05 Frando

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

davystrong avatar Aug 14 '21 01:08 davystrong

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

hopkings2008 avatar Oct 19 '22 03:10 hopkings2008

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

cberner avatar Jun 17 '23 04:06 cberner