Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.89 KB

2016-02-13-fuse.md

File metadata and controls

31 lines (24 loc) · 1.89 KB
title date category layout permalink
Build a FUSE plugin
2016-02-12 16:00:00 -0800
challenge
challenge
/challenges/fuse

Ok, go ahead. Build a filesystem, using FUSE and the bindings for your favorite language. You could use Python, or Ruby, or Go, or Lua, or JavaScript, or... really, just about any language out there. So give it a shot. It's stupidly fun.

WTF is FUSE?

  • Filesystems in Userspace
  • aka, really easy to write custom filesystem - bindings for nearly every language imaginable
  • implement a class consisting of up two dozen familiar POSIX methods such as mkdir, rename, symlink, open, read, write, etc. - basic filesystem in 50 lines of code or less
  • not unlike implementing a REST api - a hierarchy (file paths, URLs), using a simple set of verbs to manipulate the documents
  • like REST, you can do a lot with the basic concepts of directories and files - eg., the unix philosophy
  • GDriveFS, TweetFS, WikipediaFS, and many other awesome examples

Resources