logfs opened files

This commit is contained in:
royalcat 2024-06-19 00:17:10 +03:00
parent bf2dac5cf1
commit 2d72790c1a
4 changed files with 42 additions and 11 deletions
cmd/tstor

View file

@ -109,7 +109,10 @@ func run(configPath string) error {
vfs.NewCtxBillyFs("/", ctxbilly.WrapFileSystem(sourceFs)),
tsrv, ytdlpsrv,
)
sfs = vfs.WrapLogFS(sfs)
sfs, err = vfs.WrapLogFS(sfs)
if err != nil {
return err
}
if conf.Mounts.Fuse.Enabled {
mh := fuse.NewHandler(conf.Mounts.Fuse.AllowOther, conf.Mounts.Fuse.Path)