Comments (3)
have a look at https://github.com/hanwen/go-fuse/blob/master/fs/loopback_linux.go#L21
Does that help?
from go-fuse.
I mean: if you don't want to use the syscall, you could do something like
val := "hello"
copy(dest, []byte(val))
return len(val), 0
from go-fuse.
Related Issues (20)
- fuse/test: TestLargeDirRead: readdir mismatch got 99 wanted 100 HOT 4
- TestFopenKeepCache is still flaky HOT 5
- fs: TestFsstress is flaky HOT 4
- fs: TestReaddirplusParallel is flaky HOT 6
- fs: TestFileFdLeak is flaky HOT 2
- fs: TestStaleHardlinks is flaky HOT 8
- TestMemNodeFsWrite: content mismatch: got "", want "hello" HOT 1
- TestMemNodeFsBasic: Size after write incorrect: got 0 want 1
- TestDirectMount: DirectMount effective mount options mismatch HOT 2
- monitor file operations without entering the mount point HOT 1
- Go-FUSE logs are ambiguous with multiple servers HOT 4
- first level gocryptfs.diriv file always same when init in reverse mode HOT 1
- `Lseek` does not handle `ENXIO` HOT 4
- deadlock on CI HOT 11
- Compatibility issue: Older fuse-go vs. Linux 5.10 HOT 4
- Is Event Driven Flow Supported HOT 2
- How to change block size ? HOT 1
- panic: XTIMES (80000000) overlaps with INIT_RESERVED (80000000) in v2.4.2 on darwin HOT 1
- Error when build gocryptfs with 2.4.2 release HOT 1
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 go-fuse.