Code Monkey home page Code Monkey logo

Comments (3)

billziss-gh avatar billziss-gh commented on May 30, 2024 2

BTW, the latest version of WinFsp should now support multiple FUSE file systems in the same process.

WinFsp 2018.2 B2

from cgofuse.

billziss-gh avatar billziss-gh commented on May 30, 2024

I believe you have hit an inherent limitation of the WinFsp-FUSE layer: you can only have one file system per process. The reason is explained below.

There is no such limitation in the core WinFsp layer. You can have as many file systems as you want in a process either simultaneously or one after another. However file systems in Windows need to often be run as services and for this reason the core WinFsp layer also provides an API to facilitate this.

The WinFsp-FUSE layer uses both the file system and service API's. This way a WinFsp-FUSE file system can easily become a Windows service. There is a problem: once a Windows process starts acting as a service and then stops being a service, it cannot become a service again (this is true of the WinFsp Service API, although I do not remember if this is an inherent limitation of the Windows Service API).

You see where I am going with this. Having FUSE file systems being able to act as Windows services is valuable. The downside is that you can only have one FUSE file system per process.

So this is not a limitation of cgofuse, but rather a limitation of the WinFsp-FUSE layer. However it is not a limitation that I can fix as FUSE file systems would lose the "free" ability to act as Windows services.

from cgofuse.

ncw avatar ncw commented on May 30, 2024

I see, thanks for explaining that.

I'll stop beating my head against that particular wall then and think of a work-around ;-)

It is just for the test suite in rclone - it isn't something that regular users will do so a work-around is fine!

from cgofuse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.