Skip to content

Commit c04be4b

Browse files
committed
Write the FUSE challenge
1 parent a996de5 commit c04be4b

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

Diff for: _posts/challenges/2016-02-13-fuse.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,26 @@ layout: challenge
66
permalink: /challenges/fuse
77
---
88

9-
hey hey hey
9+
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.
10+
11+
<h4>WTF is FUSE?</h4>
12+
13+
<ul>
14+
<li>Filesystems in Userspace</li>
15+
<li>aka, really easy to write custom filesystem - bindings for nearly every language imaginable</li>
16+
<li>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</li>
17+
<li>not unlike implementing a REST api - a hierarchy (file paths, URLs), using a simple set of verbs to manipulate the documents</li>
18+
<li>like REST, you can do a lot with the basic concepts of directories and files - eg., the unix philosophy</li>
19+
<li><a href="https://github.com/dsoprea/GDriveFS/">GDriveFS</a>, <a href="https://code.google.com/archive/p/tweetfs/">TweetFS</a>, <a href="https://en.wikipedia.org/wiki/WikipediaFS">WikipediaFS</a>, and many other <a href="https://en.wikipedia.org/wiki/Filesystem_in_Userspace#Example_uses">awesome examples</a>
20+
</ul>
21+
22+
<a href=""></a>
23+
24+
25+
<h4>Resources</h4>
26+
27+
<ul>
28+
<li>Python: <a href="https://www.stavros.io/posts/python-fuse-filesystem/">python-fuse-filesystem</a> and <a href="http://hackaday.com/2013/11/06/writing-a-fuse-filesystem-in-python/">writing-a-fuse-filesystem-in-python</a></li>
29+
<li>JavaScript: <a href="https://github.com/bcle/fuse4js">fuse4js</a> and <a href="https://github.com/c4milo/fusejs">fusejs</a> and <a href="https://github.com/mafintosh/fuse-bindings">fuse-bindings</a></li>
30+
<li>seriously, just <a href="https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=fuse%20filesystem%20bindings&es_th=1">Google it</a></li>
31+
</ul>

0 commit comments

Comments
 (0)