copy of http://code.google.com/p/weed-fs/