Merge pull request #679 from ggtakec/master

README.md Addition
This commit is contained in:
Takeshi Nakatani 2017-11-19 16:24:51 +09:00 committed by GitHub
commit 6ab6412dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,17 +71,10 @@ Run s3fs with an existing bucket `mybucket` and directory `/path/to/mountpoint`:
s3fs mybucket /path/to/mountpoint -o passwd_file=/path/to/passwd s3fs mybucket /path/to/mountpoint -o passwd_file=/path/to/passwd
``` ```
If you use s3fs with a non-Amazon S3 implementation, specify the URL and
path-style requests:
```
s3fs mybucket /path/to/mountpoint -o passwd_file=/path/to/passwd -o url=http://url.to.s3/ -o use_path_request_style
```
If you encounter any errors, enable debug output: If you encounter any errors, enable debug output:
``` ```
s3fs mybucket /path/to/mountpoint -o passwd_file=/path/to/passwd -d -d -f -o f2 -o curldbg s3fs mybucket /path/to/mountpoint -o passwd_file=/path/to/passwd -dbglevel=info -f -o curldbg
``` ```
You can also mount on boot by entering the following line to `/etc/fstab`: You can also mount on boot by entering the following line to `/etc/fstab`:
@ -96,6 +89,17 @@ or
mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other 0 0 mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other 0 0
``` ```
If you use s3fs with a non-Amazon S3 implementation, specify the URL and path-style requests:
```
s3fs mybucket /path/to/mountpoint -o passwd_file=/path/to/passwd -o url=http://url.to.s3/ -o use_path_request_style
```
or(fstab)
```
s3fs#mybucket /path/to/mountpoint fuse _netdev,allow_other,use_path_request_style,url=http://url.to.s3/ 0 0
```
Note: You may also want to create the global credential file first Note: You may also want to create the global credential file first
``` ```
@ -138,3 +142,4 @@ License
Copyright (C) 2010 Randy Rizun <rrizun@gmail.com> Copyright (C) 2010 Randy Rizun <rrizun@gmail.com>
Licensed under the GNU GPL version 2 Licensed under the GNU GPL version 2