fuse-cache Code
Status: Beta
Brought to you by:
garpinc
fuse-cache is a simple caching filesystem for Linux using FUSE. It works by running an initialization script which can populate the cache i.e: bycopying the files you want to be cached at mount time to a cache directory. Then files in cache directory are used if available for all subsequent read requests for the file. Write request are currently delegated. It can also force files to be specifically seen as not there is not in the cache to avoid actual filesystem check. The itch I personally was trying to scratch was as follows: I am using sshfs to mount a remote filesystem. There are times when the connection will not be available. I'd like for the ability to specify that some directories are cached so that when there is a connection all files in that directory are initially cached at mount time and then if files in that directory are accessed for read, files in remote directory are not even checked.