Skip to content

Commit

Permalink
Set subtype to gcsfuse
Browse files Browse the repository at this point in the history
This allows identifying mounts as "fuse.gcsfuse" instead of only
"fuse" on Linux.  This is useful for pjdfstest so it can exclude tests
that are not supported.  References #590.
  • Loading branch information
gaul authored and lezh committed Feb 4, 2022
1 parent 26d5ac7 commit 509d6c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ be interacting with the file system.`)
status.Printf("Mounting file system %q...", fsName)
mountCfg := &fuse.MountConfig{
FSName: fsName,
Subtype: "gcsfuse",
VolumeName: "gcsfuse",
Options: flags.MountOptions,
ErrorLogger: logger.NewError("fuse: "),
Expand Down

0 comments on commit 509d6c0

Please sign in to comment.