Musings of a Software Inventor, or, THE LACK THEREOF

MobileFS

This is a Fuse filesystem to ease going mobile. At home I have a central server for music files, for example. But the archive is too big to take with me. I don't usually listen to _all_ of the songs, however, really I only listen to certain ones.

So I created a caching filesystem. When I open a file it copies it to my laptop's cache. Then, when I'm disconnected and try to access the file, it falls back to this cached copy.

It is NOT meant for distributed work, this is pretty targeted for this one use case of a large amount of basically read-only data of which you want to cache only the most recently (or most frequently) used bit.

Features

  • Looks like it works!
  • For mp3/ogg files it waits until 15 seconds or so into the song before caching
  • That also means it ignores pure id3 reads and song length checks
  • Transparently reads files from cache if source unavailable (even in the middle of a song!)

Code

darcs get http://thelackthereof.org/projects/perl/mobilefs

Recent Development Feed

http://thelackthereof.org/darcs-rss/feed/perl-mobilefs.rss returned no data, or LWP::UserAgent is not available.