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:
-
You need root access to perform each of this operation.
-
You need to find and compile cloop module for each kernel.
-
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:
-
It will work slow.
-
You need to have FUSE installed and enabled.
-
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:
-
It will work faster than mountlo method.
-
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.
|