English, Byelarussian, Russian. fusecloop -- compressed loop for FUSE
Links: Other links:

fusecloop is FUSE mounter for compressed loop images. Theese images can be found on Knoppix and Knoppix like CD's

If you have ISO image of KNOPPIX and you want to access the content of it's filesystem, you'll do the following steps:

1.
mount -t iso9660 -o loop knoppix.iso /mnt/kn1
Mount the ISO filesystem to access the content of KNOPPIX cd.
2.
modprobe cloop file=/mnt/kn1/KNOPPIX/KNOPPIX
Load dynamic uncompression module, passing compressed KNOPPIX image to it as an argument.
3.
mount -o loop,ro /dev/cloop /mnt/kn3
Mount filesystem inside of compressed image

After theese steps you will have KNOPPIX filesystem mounted to /mnt/kn3.

However, this method have some disadvantages:
  1. You need root access to perform each of this operation.
  2. You need to find and compile cloop module for each kernel.
  3. Mounting untrusted image may compromise your system.

You can cope with theese disadvantages by using FUSE -- technology that allows filesystem code to run in userspace in secure way. FUSE allows non-root users to mount filesystem visible only to them and crash of the filesystem will affect only that user.


Accessing KNOPPIX image throw the FUSE is performed by the following steps:

1.
~/bin/mountlo -t iso9660 knoppix.iso ~/mnt/kn1
Mount the ISO filesystem to access the content of KNOPPIX cd.
2.
~/bin/fusecloop ~/mnt/kn1/KNOPPIX/KNOPPIX ~/mnt/kn2
Start fusecloop which will dynamically uncompress data to ~/mnt/kn2.
3.
~/bin/mountlo -o ro ~/mnt/kn2 ~/mnt/kn3
Mount filesystem inside of compressed image

Every part of this chain (except of FUSE itself) will run from userspace.

Disadvantages:
  1. It will work slow.
  2. You need to have FUSE installed and enabled.
  3. fusecloop module is in early alpha version and it is very unstable (especially with mountlo).

Another method of accessing KNOPPIX image throw the FUSE is performed by the following steps:

1.
~/bin/fuseiso knoppix.iso ~/mnt/kn1
Mount the ISO filesystem to access the content of KNOPPIX cd.
2.
~/bin/fusecloop ~/mnt/kn1/KNOPPIX/KNOPPIX ~/mnt/kn2
Start fusecloop which will dynamically uncompress data to ~/mnt/kn2.
3.
~/bin/fuseiso ~/mnt/kn2 ~/mnt/kn3
Mount filesystem inside of compressed image

The only difference is usage of fuseiso instead of mountlo

Advantages:
  1. It will work faster than mountlo method.
  2. It hadn't freezed when testing like in mountlo method

Current version is 0.21.1 alpha.

If you found error on this page or in fusecloop, report it to vi0 at user dot sourceforce dot net.

Created by Vitaly "_Vi" Shukela Hosted by sourceforge.net SourceForge.net Logo Valid XHTML 1.0 Strict