Updated README.md for fstab example.

This commit is contained in:
Takeshi Nakatani 2016-01-24 05:34:28 +00:00
parent 4b40727644
commit 540c04e6cc
1 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,11 @@ s3fs mybucket /path/to/mountpoint -o passwd_file=/path/to/passwd -d -d -f -o f2
You can also mount on boot by entering the following line to `/etc/fstab`:
```
s3fs#mybucket /path/to/mountpoint fuse _netdev,retries=3,allow_other 0 0
s3fs#mybucket /path/to/mountpoint fuse _netdev,allow_other 0 0
or
mybucket /path/to/mountpoint fuse.s3fs _netdev,allow_other 0 0
```
Note: You may also want to create the global credential file first