Created
May 2, 2012 17:04
-
-
Save jhosteny/2578253 to your computer and use it in GitHub Desktop.
FuseFS with celluloid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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