Update main.go to support passing in temp_dir
Allows functionality to pass temp_dir as a mount option in fstab
@@ -94,6 +94,14 @@ func makeGcsfuseArgs(
value,
)
+ // Special case: support mount-like formatting for gcsfuse string flags.
+ case "temp_dir":
+ args = append(
+ args,
+ "--"+strings.Replace(name, "_", "-", -1),
+ value,
+ )
+
// Special case: support mount-like formatting for gcsfuse string flags.
case "dir_mode", "file_mode":
args = append(
