Merge pull request #336 from Jirapong/master

update REAME.md for fstab
This commit is contained in:
Takeshi Nakatani 2016-01-22 00:10:02 +09:00
commit 2c156ceea2

View File

@ -76,9 +76,19 @@ 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,allow_other 0 0
s3fs#mybucket /path/to/mountpoint fuse _netdev,retries=3,allow_other 0 0
```
Note: You may also want to create the global credential file first
```
echo MYIDENTITY:MYCREDENTIAL > /etc/passwd-s3fs
chmod 600 /path/to/passwd
```
Note2: You may also need to make sure `netfs` service is start on boot
Limitations
-----------
@ -103,7 +113,7 @@ References
Frequently Asked Questions
--------------------------
* [FAQ wiki page](https://github.com/s3fs-fuse/s3fs-fuse/wiki/FAQ)
* [FAQ wiki page](https://github.com/s3fs-fuse/s3fs-fuse/wiki/FAQ)
License
-------