FS Wrapper, Release 1.0
14 April 2005, AIST

Introduction

  "FS Wrapper" is filesystem wrapper that many blockfile to one cloop
file. This uses FUSE pseudo filesystem. FS Wrapper can read blockfile
from HTTP.


System Requirements

  In order to build and run properly, FS Wrapper requires:

  * Linux kernel 2.4 or 2.6
  * FUSE version 1.4
  * zlib 1.2.1
  * libcurl 7.13.1
  * c-ares 1.2.1

Using FS Wrapper

* fs_wrapper
  main filesystem wrapper program using FUSE.

synopsis:
  fs_wrapper HTTP_FUSE_IMAGE_NAE(with full path) LOCAL_CACHE_PATH URL_TO_BLOCKFILE/ 

envirionment:
  MAXCONNECTION

  if you find 'dlahead' in URL_TO_BLOCKFILE, fs_wrapper connects to
server multiplly. MAXCONNECTION gives number of connection to the
HTTP server. default is 4. if MAXCONNECTION is zero or negative,
multiple connection disabled.
DON'T GIVE TOO MUCH NUMBER BECAUSE OF SERVER LOAD.

* mkmd5files
  makes block file to fs_wrapper.

synopsis:
  mkmd5files input_file target_dir blocksize

  input_file is law loop device file, NOT CLOOP DEVICE FILE.
  input_file is splitted blocksize each, calculated block MD5 sum,
compressed , and stored each block subdirectory. 
  blocksize MUST multiple of 512, and we suggests 128 * 1024 or
256 * 1024.

* check_compressed_block
  checks if compressed blocks are correct.

synopsis:
  check_compressed_block

  check_compressed_blocks finds block directory(is /var/tmp/blocks/),
and check blocks. If corrupt block is found error message appears to
stderr.
