Git Product home page Git Product logo

rfuse's Introduction

RFuse

http://rubygems.org/gems/rfuse Gem Version

Ruby FUSE binding

FUSE (Filesystem in USErspace) is a simple interface for userspace programs to export a virtual filesystem to the linux kernel. FUSE aims to provide a secure method for non privileged users to create and mount their own filesystem implementations.

This library provides the low-level fuse operations as callbacks into a ruby object.

For a more ruby-ish API for creating filesystems see {http://rubygems.org/gems/rfusefs RFuseFS} which is built on RFuse and takes care of some of the heavy lifting.

Dependencies

  • Ruby 1.9+
  • Fuse 2.8

Installation

gem install rfuse

Creating a filesystem

Create your filesystem as a class implementing the abstract FUSE methods from {RFuse::Fuse} as necessary.

Run it with {RFuse.main}

For a sample filesystem see sample/test-ruby.rb

To run the example:

 mkdir /tmp/fuse
 ruby sample/test-ruby.rb /tmp/fuse

there should be an empty in-memory filesystem mounted at /tmp/fuse

HISTORY

This project is forked from rfuse-ng which was forked from the original rfuse.

RFuse-NG: Tamás László Fábián [email protected] et al on Github

Original Rfuse (@rubyforge): Peter Schrammel AT gmx.de

See also {file:CHANGES.md}

CONTRIBUTING

  1. Fork it on {http://github.com/lwoggardner/rfuse on GitHub}
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write some specs and make them pass
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

rfuse's People

Contributors

lwoggardner avatar leoc avatar krissi avatar ddk50 avatar

Watchers

Cameron Dutro avatar James Cloos avatar  avatar

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.