1954

Thoughts, stories and ideas.

goofysを使ってS3以外のストレージをfstabでマウントする

goofysはAmazon S3またはAPI互換なストレージをfile systemとしてマウントできるツールです。

github.com

起動時に自動的にマウントするにはREADMEにあるように/etc/fstabへ追記すればよいですが、S3以外のストレージを使う場合は、以下のようにendpointを指定すればOKです。

goofys#your-bucket   /path/to/mountpoint        fuse     _netdev,allow_other,--file-mode=0666,--endpoint=https://some-s3-compatible-storage.com    0       0