Giter VIP home page Giter VIP logo

Comments (4)

billziss-gh avatar billziss-gh commented on August 26, 2024

To share the drive you must ensure that the drive is created by the SYSTEM account, which creates drives in the global drive namespace. You must also create the file system as a disk file system (I.e. no “volume prefix”). Then you can use Explorer or NetShareAdd to share the drive.

Please see the documentation for DefineDosDeviceW to understand more about drive namespaces.

from cgofuse.

gshenai1 avatar gshenai1 commented on August 26, 2024

Thanks @billziss-gh. I am trying to play with the hellofs program. I will create the drive through SYSTEM account as suggested by you. However running hellofs automatically creates a drive. In the hellofs, how can I create a "disk file system" and can I map it to a pre-created drive (created by SYSTEM account)? Is there an example that I can look at?

from cgofuse.

billziss-gh avatar billziss-gh commented on August 26, 2024

Sorry for the delay in response. I am just back from vacation.

I recommend focusing on memfs as hellofs is a very basic toy file system.

To start memfs (or hellofs) simply supply the X: drive you want in the command line. This will create a disk file system by default.

> memfs X:

By default the X: drive gets created in your account's "drive namespace" and cannot be shared. If you start it under the SYSTEM account (e.g. using psexec from sysinternals) it will be created as a global drive and you will be able to share it.

from cgofuse.

gshenai1 avatar gshenai1 commented on August 26, 2024

Thank you, Bill, for your response. Trust you had a good vacation. I was able to get it to work using psexec. Appreciate much.

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.