Vitaly Shukela
Vitaly Shukela
Meanwhile, my first rust-fuse project: https://crates.io/crates/outoforderfs
How can I unmount (including forced-unmount using fusectl abort) without `spawn_mount`? Maybe there should also be a dedicated `unmount` function? And how mem::forgetting the returned guard may compromise safety? I...
Yes, it works with manual `thread::spawn` + `mount` (`avoid_unsafe` branch), but after Ctrl+C I get `Transport endpoint is not connected` instead of cleanly unmounted filesystem. As a workaround, there can...
Should it be OK if Filesystem is `'static`, hence owns `x` instead of borrows one? Oh, now I read the last sentence in the comment above. Maybe there should be...
In any case, docs about `spawn_mount` should link the scoped thread unsafety problem somewhere.
Can it just safely ignore (`ENOSYS`) all unknown opcodes with only a warning instead of error?
I started one, discovered that it is like `hello_ll.c` (while I've got used to `fusexmp.c`), discovered that unlike in `fusexmp.c` inode actually does matter, continued writing `mirror.rs` anyway using map...
Maybe try to just omit implementation of `open`? `hello` example does not use it. Also the problem may be in `lookup` or `getattr` - they are essential.
[Started](https://github.com/zargony/fuse-rs/pull/141) doing the `xmp.rs` example which is expected to work like `fusexmp` (uses usual Rust `std::fs` operations). `readdir` already works.
Reverse feature would also be fortunate: convert a `src/main.rs`-only Cargo project into a cargo-script file.