mount: set FsName via go-fuse
go-fuse now handles setting FsName, including DirectMount, so use that instead of our own solution. Regression-tested in TestDirectMount.
This commit is contained in:
parent
d7a3d7b97d
commit
199a74bc1a
2
mount.go
2
mount.go
@ -427,7 +427,7 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server {
|
||||
tlog.Warn.Printf("Warning: %q will be displayed as %q in \"df -T\"", fsname, fsname2)
|
||||
fsname = fsname2
|
||||
}
|
||||
mOpts.Options = append(mOpts.Options, "fsname="+fsname)
|
||||
mOpts.FsName = fsname
|
||||
// Second column, "Type", will be shown as "fuse." + Name
|
||||
mOpts.Name = "gocryptfs"
|
||||
if args.reverse {
|
||||
|
Loading…
Reference in New Issue
Block a user