redis-fs lets you mount a Redis database as a filesystem. It is based on redis-mount by Po-Ying Chen which was deleted from Github for unknown reasons.
Please star this repository if you're using redis-fs so that I know it's worth to continue working on it.
Please report any Issue you may encounter using redis-fs.
Pull requests are welcome.
redis-fs 0.2.0
$ redis-fs ~/redis
--host, -h localhost Redis host name
--port, -p 6379 Redis port number
--auth, -a Redis password
--sep, -s : Redis key separator
- Create a fast, auto-expanding RAM disk for (i. e.) working with temporary files.
- Use
grep
to search for text in redis values. - Pass data to other programs. ex:
$ cat redis-key | pretty-print
It is easy to build redis-fs from the source code. It takes four steps:
- Install
fuse
(linux, mac). Redis-fs currently works with OS X FUSE 2.8.x but not the 3.x developer preview. - Get the redis-fs source code from GitHub
$ git clone https://github.com/MatthiasWinkelmann/redis-fs.git
- Change to the directory with the redis-fs source code and run
$ make get-deps
to install dependencies.
- Run
make build
and then you can see a binary file in current directory.
$ make test
$ fusermount -u /tmp/redis
$ diskutil unmount /tmp/redis
(The MIT License)