-
Notifications
You must be signed in to change notification settings - Fork 2
Command Line Parameters
James Fantin-Hardesty edited this page Sep 2, 2025
·
5 revisions
Cloudfuse supports many command-line flags. Most flags can also be set in the YAML configuration file (preferred), but a few are CLI-only or commonly provided on the CLI:
- CLI-only / security-related:
-
--config-file=<PATH>: Path to the config file used for the mount (default:config.yamlin current dir). -
--secure-config: Treat the config as encrypted / encrypt auto-generated config for each container. -
--passphrase=<STRING>: Passphrase used to encrypt/decrypt secure configs. Can also be provided via environment variableCLOUDFUSE_SECURE_CONFIG_PASSPHRASE.
-
All other mount options listed below may be set either as CLI flags or in the configuration file.
-
--foreground: Run mount in foreground (default: false). -
--dry-run: Validate configuration and credentials without making changes (implies foreground). -
--enable-remount-system: Install a remount mechanism so mounts are re-created after reboot (Windows/Service behavior). -
--remount-system-user=<USER>: User account the remount service should run as. -
--wait-for-mount=<duration>: Parent process will wait up to this timeout for the mount to start (default: 5s). -
--log-level=<LOG_*>: Logging level (default:LOG_WARNING). Allowed:LOG_OFF|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_INFO|LOG_DEBUG. -
--log-file-path=<PATH>: Path for log file (default:$HOME/.cloudfuse/cloudfuse.log). -
--log-type=<TYPE>: Logger type (baseby default). Allowed:silent|syslog|base. -
--read-only: Mount container read-only. -
--disable-version-check: Disable automatic version check. -
--help,-h: Show help for a command.
- Use the YAML config file for persistent configuration (preferred).
- Use CLI flags for ad-hoc overrides or when bootstrapping encrypted configs.
- Use environment variable
CLOUDFUSE_SECURE_CONFIG_PASSPHRASEor--passphraseto provide the secure-config passphrase at runtime.
For the complete, up-to-date flag list for a given version, run:
cloudfuse mount -h
- The
cloudfuse mountcommand exposes the flags shown above. Notable defaults:-
--config-filedefaults toconfig.yamlin the working directory. -
--wait-for-mountdefault is5s. - Logging defaults:
log-level=LOG_WARNING,log-type=base,log-file-path=$HOME/.cloudfuse/cloudfuse.log.
-