Coder Social home page Coder Social logo

vcachefs's Introduction

What is vcachefs?
-----------------

Video/Audio Caching Filesystem (vcachefs) is a FUSE-based filesystem for *nix
and Mac OS X that is designed to mirror a remote filesystem while caching a
certain number of files locally. Essentially, its goal is to solve the "iTunes
sucks balls over 802.11" problem. 

The idea is that you will give it a target directory to mirror and a mountpoint,
and you point media apps toward the mountpoint instead of the net filesystem
itself. I am planning to implement two kinds of caches:

	* A file-atomic cache
	* A block-based cache for the first 1k of the file and the STAT struct

The latter allows media apps who are only querying tag information / file stats
to run quickly without requiring the entire file to be on-disk.


To build:
----------
 
# If MacFuse
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/local/lib/pkgconfig  

./autogen.sh --prefix=/usr/local
make && sudo make install

Requires:
	* pkg-config, autotools
	* glib >= 2.9
	* A recent version of FUSE (API >= v27)


To run
--------

./vcachefs /target/mount/point


Known Issues
--------------

* vcachefs doesn't do very smart things wrt permissions in the cache folder -
  we'll probably have to fix this in the future (but for music/video caching, it
  doesn't matter much

vcachefs's People

Contributors

anaisbetts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ateroconfigs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.