Skip to content

Instantly share code, notes, and snippets.

@jhosteny
Created May 2, 2012 17:04
Show Gist options
  • Save jhosteny/2578253 to your computer and use it in GitHub Desktop.
Save jhosteny/2578253 to your computer and use it in GitHub Desktop.
FuseFS with celluloid
require 'fusefs'
paxosdir = DCell::Paxos::PaxosDir.new(DCell.registry.globals.root)
FuseFS.set_root(paxosdir)
# Mount under a directory given on the command line.
FuseFS.mount_under "/tmp/foobar"
FuseFS.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment