This may help: https://github.com/zargony/fuse-rs

The kernel driver is provided by the FUSE project, the userspace implementation 
needs to be provided by the developer. fuse-rs provides a replacement for the 
libfuse userspace library between these two. This way, a developer can fully 
take advantage of the Rust type interface and runtime features when building a 
FUSE filesystem in Rust.

Go implementation should be possible.

> On Nov 25, 2020, at 12:38 AM, ChrisLu <chris...@gmail.com> wrote:
> 
> Hi, Gophers (who are also good in C),
> 
> Currently I am using FUSE to mount and write to remote storage. 
> The library I am using is Basil Fuse. The performance is good as far as FUSE 
> can go.
> 
> User -> file.write() -> Linux Kernel -> Virtual File System -> libfuse -> 
> FUSE -> DFS Client(in Go) -> Remote Storage
> 
> However, I am researching how to write directly through linux virtual file 
> system, skipping FUSE layer. Seems all similar libraries are in C. Is this 
> even possible in Go?
> 
> User -> file.write() -> Linux Kernel -> Virtual File System -> DFS Client(in 
> Go) -> Remote Storage
> 
> Thanks! 
> 
> Chris
> https://github.com/chrislusf/seaweedfs
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/6f4c54fb-d5a5-4a1f-9840-0fbab596f785n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/6f4c54fb-d5a5-4a1f-9840-0fbab596f785n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5836049F-1EEC-4B43-85AC-21B32F78DC0D%40iitbombay.org.

Reply via email to