FUSE-CLOOP
Hello,
We relase Debian packages of fuse-wrapper for cloop(Compressed Loopback device).
Operation of packages are checked on KNOPPIX 3.9 using UNIONFS.
The fuse=wrapper re-constructs a cloop file form "split-and-compressed
block files". The detail is described on the following URL. They are
developed as a part of HTTP-FUSE KNOPPIX.
http://unit.aist.go.jp/itri/knoppix/http-fuse/index-en.html
http://unit.aist.go.jp/itri/knoppix/http-fuse/index-en.html#http-fuse-mount
--------------------------------------------------------------------------------
How TO USE
1. Download Debian packages.
http://unit.aist.go.jp/itri/knoppix/http-fuse/libfuse2_2.2.1-4_i386.deb
http://unit.aist.go.jp/itri/knoppix/http-fuse/fuse-utils_2.2.1-4_i386.deb
http://unit.aist.go.jp/itri/knoppix/http-fuse/fuse-module-2.6.11_2.2.1-4_i386.deb
http://unit.aist.go.jp/itri/knoppix/http-fuse/fs-wrapper_0.1-2_i386.deb
2. Install the packages on KNOPPIX 3.9 using UNIONFS.
# dpkg -i libfuse2_2.2.1-4_i386.deb fuse-utils_2.2.1-4_i386.deb fuse-module-2.6.11_2.2.1-4_i386.deb fs-wrapper_0.1-2_i386.deb
Fuse-utils requires group-name for HTTP-FUSE mount. Please designate "root".
3. Make "split-and-compressed block files" for FUSE-CLOOP from a block device.
You can skip this procedure if you use HTTP-FUSE mount with prepared HTTP files.
Make a directory to save "split-and-compressed block files".
# mkdir /tmp/fuse-blocks/
Run "mkmd5files" to make "split-and-compressed block files" of a block device.
The block device must have file system. The last argument is size of split.
The following example shows split-and-compressed block files are
made form block device "/dev/hda1" with 256KB (262144 BYTE) split.
# mkmd5files /dev/hda1 /tmp/fuse-blocks/ 262144
4. Run CLOOP-FUSE.
Make a mount point directory for CLOOP FUSE.
# mkdir /mnt/fuse
# fs_wrapper /mnt/fuse -f file:/mnt/uba1/fuse-blocks/
This process tells you log of fs-wrapper.
you run CLOOP-FUSE with prepared HTTP files. For example.
# fs_wrapper /tmp/fuse -f http://aist.ring.gr.jp/archives/linux/knoppix/knxblock/KNOPPIX37FSFE/
5. On another terminal.
You find a CLOOP file at "/mnt/fuse/KNOPPIX". Set up cloop mount.
# losetup /dev/cloop2 /tmp/KNOPPIX
# mkdir /mnt/cloop2
# mount /dev/cloop2 /mnt/cloop2
You find the files of "file system of /dev/hda1" at /mnt/cloop2/.
You can expose the "split-and-compressed block files" on HTTP Sever
and run "fs_wrapper" with the URL.
------
suzaki
Reply to: