This page documents every flag accepted by mount.flexfs start. Flags marked [internal] are hidden from --help output and intended for advanced tuning or debugging. Flags marked [testing only] are also hidden, and exist solely for the test suite — do not set them on a production mount.
Flag Type Default Description --aclbool falseEnable extended ACL support (implies --xAttr) --forceClientDACbool false[testing only] Force extended-ACL enforcement into the mount client--noATimebool falseDo not update access times on file opens --noExecbool falseDisallow execution of binaries --nonEmptybool falseAllow mounting over a non-empty directory --noSUIDbool falseDisable SUID / SGID special permissions --robool falseMount read-only (implies --noATime) --rootSquashbool falseMap UID 0 / GID 0 to --rootSquashUID / --rootSquashGID (implies --acl) --rootSquashGIDuint32 65534GID to map root to when --rootSquash is set --rootSquashUIDuint32 65534UID to map root to when --rootSquash is set --umaskstring (none) Explicit umask override in octal notation (e.g. 0002)
Note
--acl needs kernel POSIX ACL support (Linux 4.9+) to perform well. On current kernels it
caches exactly like a mount without it. On older kernels, and whenever --rootSquash is set,
the mount client checks every operation itself — correct, but with more metadata round trips.
See Access Control .
| --xAttr | bool | false | Enable extended attribute support |
Note
Many access control flags (acl, noATime, noExec, noSUID, rootSquash, nonEmpty, xAttr) can also be set at the volume level via configure.flexfs. Volume-level settings are combined with mount-level flags — if either side enables a flag, it takes effect.
Flag Type Default Description --dirtyCapacityuint32 auto [internal] In-memory dirty block cache capacity in blocks. Default is memCapacity/4 (minimum 8).--diskFolderstring ~/.flexfs/mount/cache/<pid>On-disk block cache folder path --diskMaxBlockSizeuint64 262144Maximum processed block size in bytes that will be cached to disk. Blocks larger than this after processing bypass the disk cache. 0 means no limit. --diskQuotastring (empty) Maximum disk usage for the block cache (e.g. 5%, 64M, 10G). Empty or 0 disables the disk cache. --diskWritebackbool falseEnable disk cache writeback mode for latency mitigation --memCapacitystring auto [internal] In-memory block cache capacity. Accepts a percentage of system RAM (e.g. 2%), a human-readable size (e.g. 4G, 512M), or a plain number of blocks (e.g. 2000). Default is 2% of system RAM divided by block size (minimum 32 blocks).--poolCapacityuint32 auto [internal] Block buffer pool capacity in blocks. Default is prefetchActive + dirtyActive (minimum 8).
Caution
A custom --diskFolder should include the <pid> placeholder (or otherwise be unique per mount instance). The cache folder is wiped and recreated on startup; if two mount processes (or a mount and its auto-update successor) are given the exact same fixed folder, they can race to wipe each other’s directory, silently disabling the on-disk cache (I/O transparently falls back to object storage). Keeping <pid> in the path guarantees a unique folder per instance.
Flag Type Default Description --asyncReadbool false[internal] Enable FUSE async read support--dirtyActiveuint32 auto [internal] Maximum number of dirty blocks actively syncing. Default is half of dirtyCapacity (minimum 4).--maxBopsuint32 auto [internal] Maximum number of parallel block operations. Default is dirtyActive + prefetchActive.--noMaxPagesbool false[internal] Limit FUSE max_pages to 32 instead of the kernel maximum--noPrefetchbool false[internal] Disable block prefetching entirely--numReadersuint32 auto [internal] Number of FUSE reader goroutines. Default is 8 × CPU count.--prefetchActiveuint32 auto [internal] Maximum number of active block prefetches. Default is memCapacity/8.--prefetchDepthuint32 auto [internal] Maximum number of queued block prefetches.
Flag Type Default Description --attrValiduint64 28800[internal] Seconds to cache file/directory attributes--attrValidNsecuint32 0[internal] Nanosecond offset for --attrValid--dirPageSizeuint32 5000[internal] Directory stream page size--dirTTLuint32 10[internal] Seconds to cache directory stream pages--entryValiduint64 1[internal] Seconds the kernel caches directory entries--entryValidNsecuint32 0[internal] Nanosecond offset for --entryValid--longNamesbool false[internal] Allow names up to 1023 characters (default limit is 255)--noOpenCoherencebool false[testing only] Skip the open() cross-mount freshness check--subTypestring flexfs[internal] FUSE filesystem subtype (shown in mount listings)
Flag Type Default Description --noMetaSSLbool false[internal] Disable TLS for metadata server connections--noProxybool false[internal] Bypass proxy servers and connect directly to object storage--noProxyReadsbool false[internal] Bypass proxy servers for block reads--noProxySSLbool false[internal] Disable TLS for proxy server connections--noProxyWritesbool false[internal] Bypass proxy servers for block writes--proxyProbeTOuint32 125[internal] Per-proxy-group health check timeout (ms)--ssebool false[internal] Enable S3 server-side encryption (AES256)
Flag Type Default Description --adminAddrstring (from creds) [internal] Admin server address (overrides the credentials file)--credsFilestring ~/.flexfs/mount/creds/<name>Path to the credentials file. The <name> placeholder is replaced with the volume name. --secretstring (from creds) [internal] Volume encryption secret (overrides the credentials file)--tokenstring (from creds) [internal] Volume auth token (overrides the credentials file)
Flag Type Default Description --noRemountbool falseDisable automatic remount after an update (the mount will stop instead) --noUpdatebool falseDisable the automatic update mechanism (implies --noRemount) --stagingbool falseCheck the staging channel for updates instead of production --testVersionstring (none) [testing only] Override build version for testing update handoff--updateIntervaluint32 360[testing only] Seconds between auto-update checks
Flag Type Default Description --blockRTTbool false[internal] Log all block storage round-trip times--foreground / -fbool falseRun in foreground mode instead of daemonizing (implies --noRemount) --fuseRTTbool false[internal] Log all FUSE round-trip times--logFilestring ~/.flexfs/mount/logs/<name>-<pid>.logLog file path in daemon mode. The <name> and <pid> placeholders are replaced at startup. --memStatsbool false[internal] Log buffer pool and LRU cache statistics--metaRTTbool false[internal] Log all metadata server round-trip times--metricsbool falseEnable the Prometheus metrics endpoint (see Metrics Reference ) --metricsPortint 6073Port for the metrics endpoint --pprofbool false[internal] Enable the Go pprof profiler--pprofPortint 6063[internal] Pprof server port--storeRTTbool false[internal] Log all store subsystem round-trip times--verbose / -vbool falseEnable verbose logging (implies all RTT and memStats logging)
Flag Type Default Description --atTimestring (none) Mount the filesystem at a specific point in time in RFC 3339 format (e.g. 2025-06-15T14:30:00Z). Implies --ro. See Time-Travel Mounting .
All flags can be passed as fstab mount options by removing the -- prefix. Boolean flags are set by name alone. For example:
my-volume /mnt/data flexfs _netdev,nofail,ro,acl,verbose 0 0
See fstab Integration for details.