OS Manuals

/usr/bin/mount-s3

A simple, high-throughput file client for mounting an Amazon S3 bucket as a local file system.

From mountpoint-s3 1.24.0-r5 (os), captured 2026-11-05 by running mount-s3 --help (exit 0). permalink

Mountpoint for Amazon S3

Learn more in Mountpoint's configuration documentation:
https://github.com/awslabs/mountpoint-s3/blob/main/doc/CONFIGURATION.md

Usage: mount-s3 [OPTIONS] <BUCKET_NAME> <DIRECTORY>

Arguments:
  <BUCKET_NAME>
          Name of bucket, or an S3 URI, to mount

  <DIRECTORY>
          Directory or FUSE file descriptor to mount the bucket at.

          For directory mount points, the passed path must be an existing directory.

          For FUSE file descriptors (Linux-only), it should be of the format `/dev/fd/N`.

Options:
  -f, --foreground
          Run as foreground process

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Bucket options:
      --prefix <PREFIX>
          Prefix inside the bucket to mount, ending in '/' [default: mount the entire bucket]

      --region <REGION>
          AWS region of the bucket [default: auto-detect region]

      --endpoint-url <ENDPOINT_URL>
          S3 endpoint URL [default: auto-detect endpoint]

      --force-path-style
          Force path-style addressing

      --transfer-acceleration
          Use S3 Transfer Acceleration when accessing S3. This must be enabled on the bucket.

      --dual-stack
          Use dual-stack endpoints when accessing S3

      --requester-pays
          Set the 'x-amz-request-payer' to 'requester' on S3 requests

      --bucket-type <BUCKET_TYPE>
          Type of S3 bucket to use [default: inferred from bucket name]

          [possible values: general-purpose, directory]

      --storage-class <STORAGE_CLASS>
          Set the storage class for new objects

      --expected-bucket-owner <AWS_ACCOUNT_ID>
          Account ID of the expected bucket owner. If the bucket is owned by a different account, S3 requests fail with an access denied error.

      --sse <SSE>
          Server-side encryption algorithm to use when uploading new objects

          [possible values: aws:kms, aws:kms:dsse, AES256]

      --sse-kms-key-id <AWS_KMS_KEY_ARN>
          AWS Key Management Service (KMS) key ARN to use with KMS server-side encryption when uploading new objects. Key ID, Alias and Alias ARN are all not supported.

      --upload-checksums <ALGORITHM>
          Checksum algorithm to use for S3 uploads [default: crc32c]

          [possible values: crc32c, crc64nvme, off]

      --infer-content-type
          Automatically infer the Content-Type of uploaded objects from their file extension. Content-Type is not updated on rename.

AWS credentials options:
      --no-sign-request
          Do not sign requests. Credentials will not be loaded if this argument is provided.

      --profile <PROFILE>
          Use a specific profile from your credential file.

Mount options:
      --read-only
          Mount file system in read-only mode

      --allow-delete
          Allow delete operations on file system

      --allow-overwrite
          Allow overwrite operations on file system

      --incremental-upload
          Enable incremental uploads and support for appending to existing objects

      --auto-unmount
          Automatically unmount on exit

      --allow-root
          Allow root user to access file system

      --allow-other
          Allow other users, including root, to access file system

      --uid <UID>
          Owner UID [default: current user's UID]

      --gid <GID>
          Owner GID [default: current user's GID]

      --dir-mode <DIR_MODE>
          Directory permissions [default: 0755]

      --file-mode <FILE_MODE>
          File permissions [default: 0644]

Client options:
      --maximum-throughput-gbps <N>
          Maximum throughput in Gbps [default: auto-detected on EC2 instances, 10 Gbps elsewhere]

      --max-threads <N>
          Maximum number of FUSE daemon threads

          [default: 16]

      --memory-target <MiB>
          Target for Mountpoint's total memory usage, in MiB.

          Mountpoint manages the memory used to buffer reads and writes to stay within this target but it is
          not a guaranteed limit. Lowering it may reduce throughput and increase latency. The target caps how
          many files can be open for writing at the same time. Once that cap is reached, opening a file for
          writing fails with ENOMEM.

          Defaults to 95% of total (or cgroup-limited) memory.

      --part-size <SIZE>
          Part size for multi-part GET and PUT in bytes

          [default: 8388608]

      --read-part-size <SIZE>
          Part size for GET in bytes [default: 8388608]

      --write-part-size <SIZE>
          Part size for multi-part PUT in bytes [default: 8388608]

      --ca-bundle <PATH>
          The CA certificate bundle used to verify HTTPS connections made by Mountpoint.

          When set, this bundle is used in place of the operating-system default trust store.

          [env: AWS_CA_BUNDLE=]

      --bind <NETWORK_INTERFACE>
          One or more network interfaces for Mountpoint to use when accessing S3. Requires Linux 5.7+ or running as root. This feature is a work-in-progress.

Logging options:
  -l, --log-directory <DIRECTORY>
          Write log files to a directory [default: logs written to syslog]

      --log-metrics
          Enable logging of summarized performance metrics

      --otlp-endpoint <ENDPOINT>
          OTLP endpoint for publishing metrics

      --otlp-export-interval <SECONDS>
          OTLP metrics export interval in seconds [default: 60]

  -d, --debug
          Enable debug logging for Mountpoint

      --debug-crt
          Enable debug logging for AWS Common Runtime

      --no-log
          Disable all logging. You will still see stdout messages.

Caching options:
      --cache <DIRECTORY>
          Enable caching of object content to the given directory and set metadata TTL to 60 seconds

      --metadata-ttl <SECONDS|indefinite|minimal>
          Time-to-live (TTL) for cached metadata in seconds [default: minimal, or 60 seconds if --cache is set]

      --negative-metadata-ttl <SECONDS|indefinite|minimal>
          Time-to-live (TTL) for cached negative entries in seconds [default: same as metadata TTL]

      --max-cache-size <MiB>
          Maximum size of the cache directory in MiB [default: preserve 5% of available space]

      --cache-xz <BUCKET>
          Enable caching of object content to the specified bucket on S3 Express One Zone (same region only)

Advanced options:
      --user-agent-prefix <PREFIX>
          Configure a string to be prepended to the 'User-Agent' HTTP request header for all S3 requests


Alternative fstab style:
  mount-s3 <BUCKET> <DIRECTORY> -o <OPTIONS>

Arguments:
  <BUCKET_NAME>
          Name of bucket, or an S3 URI, to mount
  <DIRECTORY>
          Location to mount bucket at
  <OPTIONS>
          fstab style options. Comma separated list of CLI options, with backslash escapes for commas, backslashes, and double quotes.
          Use of `--` to prefix arguments is not allowed.
Options (51)
OptionDescriptionSource
-f, --foregroundRun as foreground processhelp
-h, --helpPrint help (see a summary with '-h')help
-V, --versionPrint versionhelp
--prefix PREFIXPrefix inside the bucket to mount, ending in '/' [default: mount the entire bucket]help
--region REGIONAWS region of the bucket [default: auto-detect region]help
--endpoint-url ENDPOINT_URLS3 endpoint URL [default: auto-detect endpoint]help
--force-path-styleForce path-style addressinghelp
--transfer-accelerationUse S3 Transfer Acceleration when accessing S3.help
--dual-stackUse dual-stack endpoints when accessing S3help
--requester-paysSet the 'x-amz-request-payer' to 'requester' on S3 requestshelp
--bucket-type BUCKET_TYPEType of S3 bucket to use [default: inferred from bucket name]help
--storage-class STORAGE_CLASSSet the storage class for new objectshelp
--expected-bucket-owner AWS_ACCOUNT_IDAccount ID of the expected bucket owner.help
--sse SSEServer-side encryption algorithm to use when uploading new objectshelp
--sse-kms-key-id AWS_KMS_KEY_ARNAWS Key Management Service (KMS) key ARN to use with KMS server-side encryption when uploading new objects.help
--upload-checksums ALGORITHMChecksum algorithm to use for S3 uploads [default: crc32c]help
--infer-content-typeAutomatically infer the Content-Type of uploaded objects from their file extension.help
--no-sign-requestDo not sign requests.help
--profile PROFILEUse a specific profile from your credential file.help
--read-onlyMount file system in read-only modehelp
--allow-deleteAllow delete operations on file systemhelp
--allow-overwriteAllow overwrite operations on file systemhelp
--incremental-uploadEnable incremental uploads and support for appending to existing objectshelp
--auto-unmountAutomatically unmount on exithelp
--allow-rootAllow root user to access file systemhelp
--allow-otherAllow other users, including root, to access file systemhelp
--uid UIDOwner UID [default: current user's UID]help
--gid GIDOwner GID [default: current user's GID]help
--dir-mode DIR_MODEDirectory permissions [default: 0755]help
--file-mode FILE_MODEFile permissions [default: 0644]help
--maximum-throughput-gbps NMaximum throughput in Gbps [default: auto-detected on EC2 instances, 10 Gbps elsewhere]help
--max-threads NMaximum number of FUSE daemon threadshelp
--memory-target MiBTarget for Mountpoint's total memory usage, in MiB.help
--part-size SIZEPart size for multi-part GET and PUT in byteshelp
--read-part-size SIZEPart size for GET in bytes [default: 8388608]help
--write-part-size SIZEPart size for multi-part PUT in bytes [default: 8388608]help
--ca-bundle PATHThe CA certificate bundle used to verify HTTPS connections made by Mountpoint.help
--bind NETWORK_INTERFACEOne or more network interfaces for Mountpoint to use when accessing S3.help
-l, --log-directory DIRECTORYWrite log files to a directory [default: logs written to syslog]help
--log-metricsEnable logging of summarized performance metricshelp
--otlp-endpoint ENDPOINTOTLP endpoint for publishing metricshelp
--otlp-export-interval SECONDSOTLP metrics export interval in seconds [default: 60]help
-d, --debugEnable debug logging for Mountpointhelp
--debug-crtEnable debug logging for AWS Common Runtimehelp
--no-logDisable all logging.help
--cache DIRECTORYEnable caching of object content to the given directory and set metadata TTL to 60 secondshelp
--metadata-ttl SECONDS|indefinite|minimalTime-to-live (TTL) for cached metadata in seconds [default: minimal, or 60 seconds if --cache is set]help
--negative-metadata-ttl SECONDS|indefinite|minimalTime-to-live (TTL) for cached negative entries in seconds [default: same as metadata TTL]help
--max-cache-size MiBMaximum size of the cache directory in MiB [default: preserve 5% of available space]help
--cache-xz BUCKETEnable caching of object content to the specified bucket on S3 Express One Zone (same region only)help
--user-agent-prefix PREFIXConfigure a string to be prepended to the 'User-Agent' HTTP request header for all S3 requestshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.