Giter Site home page Giter Site logo

etcdfs's Introduction

etcdfs: Filesystem based on etcd

About

etcdfs is a simple FUSE filesystem based on etcd. It allows you to mount the key space of an etcd cluster as a filesystem. It is written in Python, using Pyfuse, the Python bindings for libfuse, and python-etcd.

The main goal of this project is to be able to work with etcd with well-known Linux tools, like ls, cp, grep, rather than etcdctl or any other etcd command-line client.

etcdfs can also be useful in case a very simple shared storage is required, like in the case of common configuration.

How it works

etcdfs can mount the whole etcd hierarchical key space (/) or any part of it. Etcd keys are mapped to FS files and etcd directories are mapped to FS directories.

Installation

First you will need to install FUSE from http://github.com/libfuse/libfuse. After installing FUSE, install the etcdfs Python package:

$ python setup.py install

How to use

Simply run etcdfs and provide the mountpoint and the etcd keyspace that you want to mount:

$ etcdfs --basedir $basedir $mountpoint

Unmount the filesystem by using fusermount:

$ fusermount -u $mountpoint

Unsupported Operations

  • chmod
  • chown
  • getxattr
  • ioctl
  • link
  • listxattr
  • readlink
  • removexattr
  • rename
  • setxattr
  • statfs
  • symlink
  • utimens

License

Free software: BSD license

etcdfs's People

Contributors

cstavr avatar nopdotcom avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nopdotcom giclo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.