Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fstab mount ignores config file #45

Closed
Matan opened this issue Feb 25, 2014 · 3 comments
Closed

fstab mount ignores config file #45

Matan opened this issue Feb 25, 2014 · 3 comments

Comments

@Matan
Copy link

Matan commented Feb 25, 2014

Hi,

I'm trying to mount with fstab but it's not reading the config file passed.

Here is my mount string:
riofs#bucket-name /mnt/bucket-name fuse _netdev,allow_other,nonempty,config=/path/to/riofs.conf.xml 0 0

When trying to mount:
ERROR! Environment variables are not set! Try riofs --help' for more information.`

Any help would be much appreciated.

Thanks!

@dstinebaugh
Copy link

I too am looking to have the riofs mount on boot and have been toying with fstab entries as well, did you ever get this working, or does anyone have an example on how to have riofs mount on boot? adding a script to rc.local doesn't seem to be cutting it either.

@wizzard
Copy link
Member

wizzard commented May 31, 2014

Hello,
while RioFS currently does not support fstab, you could easily add it to your rc.local.

I have the following command line in /etc/rc.local:

/usr/local/bin/riofs --uid=500 --gid=500 --fuse-options="allow_other"  -c /etc/riofs.conf.xml myBucket /home/home/testdir

where 500 is uid / gid of my test user.

@wizzard
Copy link
Member

wizzard commented May 31, 2014

Forgot to mention, that you could specify access_key_id and secret_access_key in riofs.conf.xml (instead of env variables), then you won't need to setup any env variables at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants