goofys icon indicating copy to clipboard operation
goofys copied to clipboard

cache clarification & adding cache path to fstab.

Open pacmac opened this issue 2 years ago • 0 comments

If I understand correctly when I execute

goofys --help
>> --cache value       Directory to use for data cache. Requires catfs and `-o allow_other'. Can also pass in other catfs options (ex: --cache "--free:10%:$HOME/cache") (default: off)

Q1) Cache is disabled by default, and that by setting for example ```--cache=\tmp`` that the \tmp folder will be used to store the cache - is that correct ?

Q2) And what is being cached, is it the file names and directory structures, I think it is ?

Q3) I tried enabling this in /etc/fstab but it would not mount:

/usr/local/bin/goofys#bakups /mnt/s3/backups fuse _netdev,allow_other,--cache=/tmp,--gid=1003,--dir-mode=0770,--file-mode=0770,--endpoint=https://xxx.linodeobjects.com,--profile=linode, 0 0

If I remove the --cache=/tmp, then it works just fine.

pacmac avatar Feb 16 '22 10:02 pacmac