Skip to content

Commit

Permalink
#492 Use bucket name as the file system name
Browse files Browse the repository at this point in the history
  • Loading branch information
lezh committed Feb 19, 2021
1 parent 570e316 commit 96e82e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,13 @@ be interacting with the file system.`)

// Mount the file system.
status.Println("Mounting file system...")
fsName := bucketName
if fsName == "" {
fsName = "gcsfuse"
}

mountCfg := &fuse.MountConfig{
FSName: "gcsfuse",
FSName: fsName,
VolumeName: "gcsfuse",
Options: flags.MountOptions,
ErrorLogger: logger.NewError("fuse: "),
Expand Down

0 comments on commit 96e82e4

Please sign in to comment.