Comments (4)
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.
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.
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.
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)
- Write method not called HOT 1
- Enable LOCK feature HOT 2
- How to increase buffer size? (max_pages and libfuse3) HOT 1
- Mount and Unmount Result
- Mixup of O_EXCL and O_TRUNC constant values CGO vs non CGO HOT 13
- warning: "FUSE_USE_VERSION" redefined HOT 1
- possible to call cheat engine with cgofuse HOT 1
- Support ARM architecture on Linux
- Incorrect writes from fuse HOT 12
- Need to know when the fuse service is ready HOT 4
- Please provide a way to retrieve information about the fuse implementation
- memfs example problems
- Golang Windows Passthrough version HOT 1
- command line options for Memfs HOT 8
- How can I not let it download video/image files automatically? HOT 3
- Mirrorfs? HOT 2
- Possibility to render folder asynchronously with Readdir HOT 11
- Failing to mount: The service has failed to start (Status=c0000034) HOT 1
- *winfuse.Stat_t.Uid is uint32 but on windows it's supposed to be a string HOT 1
- File copies using `dd` for cgofuse (memfs/ custom filesystem) are super slow on Windows 10 using PowerShell/MINGW64 terminal HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgofuse.