Added FUSE support #55

Merged
Elara6331 merged 65 commits from yannickulrich/itd:fuse into master 2023-03-25 22:23:52 +00:00
Showing only changes of commit 3b9690103b - Show all commits

11
main.go
View File

@ -181,11 +181,6 @@ func main() {
log.Error("Error intializing puremaps integration").Err(err).Send()
}
// Start control socket
err = startSocket(ctx, dev)
if err != nil {
log.Error("Error starting socket").Err(err).Send()
}
// Start fuse socket
if k.Bool("fuse.enabled") {
err = startFUSE(ctx, dev)
@ -193,6 +188,12 @@ func main() {
log.Error("Error starting fuse socket").Err(err).Send()
}
}
yannickulrich marked this conversation as resolved Outdated

FUSE should be started before the socket (socket should always be last)

FUSE should be started before the socket (socket should always be last)

Done in 3b96901

Done in 3b96901
// Start control socket
err = startSocket(ctx, dev)
if err != nil {
log.Error("Error starting socket").Err(err).Send()
}
// Block forever
select {}
}