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

Use with catfs on fstab? #346

Open
eai04191 opened this issue Jul 31, 2018 · 4 comments
Open

Use with catfs on fstab? #346

eai04191 opened this issue Jul 31, 2018 · 4 comments

Comments

@eai04191
Copy link

I'm using goofys and catfs with a command line, it works perfectly.
$GOPATH/bin/goofys -o allow_other --dir-mode=0770 --uid=48 --gid=48 --cache "--free:50%:/tmp" some.bucket /mnt/s3/

Next, I want to use auto mount. So I add a line at /etc/fstab.

/root/go/bin/goofys#some.bucket    /mnt/s3    fuse    _netdev,allow_other,--dir-mode=0770,--uid=48,--gid=48,--cache=--free:50%:/tmp 0 0

I run mount -a. but goofys said:

--cache requires catfs (http://github.com/kahing/catfs) but exec: "catfs": executable file not found in $PATH

How can I fix it? thanks.

@kahing
Copy link
Owner

kahing commented Aug 23, 2018

is catfs in your $PATH?

@delia-m
Copy link

delia-m commented Nov 5, 2018

Same issue..
catfs in PATH (via .profile)
works when I mount manually with --cache "--free:1%:/tmp"
But got an error when I try to mount with /etc/fstab

@kahing
Copy link
Owner

kahing commented Nov 5, 2018

is it in your login user's PATH, or root's PATH? automount via fstab is run via root, so it needs to be in root's PATH.

@delia-m
Copy link

delia-m commented Nov 5, 2018

Yes it's root's one. and I checked it's still there after logout and login again.

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

3 participants