pfnet-research / meta-fuse-csi-plugin

A CSI plugin for All FUSE implementations
https://tech.preferred.jp/en/blog/meta-fuse-csi-plugin/
Apache License 2.0
55 stars 2 forks source link

request: rar2fs #1

Open KyleSanderson opened 7 months ago

KyleSanderson commented 7 months ago

hi - I use https://github.com/hasse69/rar2fs which provides a transparent FUSE filesystem for transparently exposing archive contents to a filesystem. The dockerfile feels beyond me, but I need to be able to pass mount options to the application.

naoki9911 commented 7 months ago

Thank you for opening the first issue!

rar2fs seems to use libfuse, so "fusermount3-proxy" mount approach should work.

fusermount3-proxy approach is configured by injecting dedicated fusermount3-proxy binary to rar2fs container image. This dockerfile example shows the procedure to inject fusermount3-proxy binary. https://github.com/pfnet-research/meta-fuse-csi-plugin/blob/main/examples/proxy/mountpoint-s3/Dockerfile

If you want to pass command line arguments to rar2fs, you can pass them as this mountpoint-s3 example.

https://github.com/pfnet-research/meta-fuse-csi-plugin/blob/437dbbbbf16e5b02f9a508e3403d044b0a9dff89/examples/proxy/mountpoint-s3/deploy.yaml#L17