Facebook Filesystem

permanent link
Posted: May 312007

Sometimes I like to work on projects that have no immediate apparent value. A lot of times I start these projects and get them working just good enough for my mind to move on, but just short of them being ready for public consumption. One such project that I'm working on right now is a Facebook Filesystem. It's a user-space filesystem built on top of Amit Singh's (Google) MacFUSE.

Facebook Filesystem

It's inspired by the UNIX "treat everything like a file" philosophy. The root node is the authenticated user's user directory. Each user directory is comprised of 4 sub-directories: events, friends, groups, and messages. The friends directory is special because its sub-directories are of course the user directories for all of the authenticated user's friends.

What's the point? I'm not sure right now, although I have to admit it would get more useful if I added a photo sub-directory to each user directory in order to make browsing photos very simple via the Finder or manipulating them quite easy via the UNIX command line and imagemagik. But first I have to get the existing setup working properly as it's not exactly functional now.