blob: 0dc376b3cc896896c0eae5bf7904a59213da9d0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
COMPRESSED LOOPBACK TOOLS
=============================================================================
DISCLAIMER: THE AUTHORS HEREBY DENY ANY WARRANTY FOR ANY DATA LOSS AND
DAMAGE WHATSOEVER THAT MAY BE CAUSED DIRECTLY OR INDIRECTLY BY USING THIS
SOFTWARE. THIS IS EXPERIMENTAL SOFTWARE. USE AT YOUR OWN RISK.
This tools are licensed under the GNU GENERAL PUBLIC LICENSE Version 2, as
stated in the source.
-----------------------------------------------------------------------------
Userspace utilities for handling images for gcloop, Kernel modules
to add support for filesystem-independent, transparently decompressed,
read-only block devices on 2.6 linux kernels.
Original Author: Paul 'Rusty' Russel
Extensions & Bugfixes: Klaus Knopper (http://www.knopper.net/knoppix/)
Luca Barbato (lu_zero@gentoo.org)
INSTALLATION:
-------------
You need ucl in order to use gcloop. Get it from http://upx.sf.net
Currently is present just the ucl(nrv2e) flavour, the other compressor
will follow soon.
USAGE:
------
Creating a compressed image:
create_compressed_ucl_fs infile blocksize > outfile
alternate way:
compressloop_ucl [options] infile outfile
blocksize must be a multiple of 512 bytes. Make sure you have enough
swap to hold the entire compressed image in virtual memory! Use "-"
as filename to read data from stdin, as in:
mkisofs -r datadir | create_compressed_fs - 131072 > datadir.iso.compressed
Mounting a compressed image (see above for device creation):
modprobe compressloop (will change soon)
losetup -E 19 -e ucl-0 /dev/loop0 image.ucl
mount -o ro -t whatever /dev/loop0 /mnt/compressed
NOTICE: You MUST update losetup in order to get it working correctly!
For more information, please refer to the sources. If you don't understand
what all this is about, please DON'T EVEN ATTEMPT TO INSTALL OR USE THIS
SOFTWARE.
Updated gcloop userspace tools and kernel patches are available at
http:/dev.gentoo.org/~lu_zero/gcloop
A download location for the cloop userspace tools and modules has been
provided at: http://www.knopper.net/download/knoppix/
- Luca Barbato
|