参考文章 https://blog.csdn.net/m0_69703043/article/details/147616588

使用指令

sudo s3fs [bucketname]:/[path] /mnt/huawei-obs \
  -o url=https://obs.cn-southwest-2.myhuaweicloud.com \
  -o passwd_file=/etc/passwd-s3fs \
  -o use_path_request_style \
  -o allow_other \
  -o uid=$(id -u) -o gid=$(id -g) \
  -o umask=022 \
  -o connect_timeout=10 -o readwrite_timeout=20 -o retries=2 \
  -o compat_dir

注意,path前面一定要加/

标签: none