I can see a use - exporting an embedded FS (read only) from a binary, 
especially for testing stuff.

On Thursday, 29 June 2023 at 08:00:18 UTC+1 Roland Müller wrote:

> Hello,
> I am struggling to understand the purpose of extension. 
> FS is an interface to access file systems from go code. Is your new 
> extension acting as a handler and allows to expose any Go FS to be mounted 
> and acessed at operating system level?
>
>
> https://en.m.wikipedia.org/wiki/Filesystem_in_Userspace#/media/File%3AFUSE_structure.svg
>
> Br/Üdvözlettel
> Roland
>
> Am Samstag, 24. Juni 2023 schrieb Tamás Gulácsi <tgula...@gmail.com>:
> > Ok, I've put some hours into it, and implemented it: 
> https://pkg.go.dev/github.com/tgulacsi/g...@v0.25.0/fsfuse 
> <https://pkg.go.dev/github.com/tgulacsi/go@v0.25.0/fsfuse>
> > It uses github.com/jacobsa/fuse to export a mountable io/fs.FS.
> > I've only tested with os.DirFS, with that, it works as expected.
> > I'd love to get some feedback - if anynone interested, I can export it 
> to some more direct/slimmer repo.
> > Tanás Gulácsi
> >
> > Tamás Gulácsi a következőt írta (2023. június 23., péntek, 8:08:32 
> UTC+2):
> >>
> >> Hi,
> >> Does anyone know an existing solution for exporting an fs.FS as a FUSE 
> filesystem?
> >> As fs.FS is standard now, this would open several new possibilities,
> >> as a lot of interesting fs.FS implementations exist (zip, tar, DB, 
> embedded, union ....),
> >> and this one little glue code could export them all!
> >> Thanks in advance,
> >> Tamás
> >
> > --
> > 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...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/f8edf7e1-a864-4ab0-b7e6-773246485da1n%40googlegroups.com
> .
> > 

-- 
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/0bc4e33d-8d30-48fa-b1c2-a6a23cad5908n%40googlegroups.com.

Reply via email to