Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

MatthiasWinkelmann/redis-fs

Repository files navigation

redis-fs

Note: This is largely abandoned by me, as it was by others, before. So it probably has issues.

The main reason is that it's slow. I couldn't get even close to rotating disk HDD transfer rates. believe that was the whole point, back when I still knew what I was trying to do...

Sawing off the branch I'm sitting on...

Check out the forks ion the Insights tab, above, and you might find someone who took this idea and ran with it. LexVocoder and Promaethius were the last being frudtrated by my inactivity.

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.

Usage

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

Installation

Download binary file

Build from source

It is easy to build redis-fs from the source code. It takes four steps:

  1. Install fuse (linux, mac). Redis-fs currently works with OS X FUSE 2.8.x but not the 3.x developer preview.
  2. Get the redis-fs source code from GitHub
$ git clone https://github.com/MatthiasWinkelmann/redis-fs.git
  1. Change to the directory with the redis-fs source code and run
$ make get-deps

to install dependencies.

  1. Run make build and then you can see a binary file in current directory.

Run Unit Tests

$ make test

Unmount

Linux

$ fusermount -u /tmp/redis

MacOS

$ diskutil unmount /tmp/redis

License

(The MIT License)

About

Mount a Redis database as a filesystem using fuse.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published