| 1 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> |
|---|
| 2 |
<refentry id="create_compressed_fs"> |
|---|
| 3 |
|
|---|
| 4 |
<refmeta> |
|---|
| 5 |
<refentrytitle>create_compressed_fs</refentrytitle> |
|---|
| 6 |
<manvolnum>1</manvolnum> |
|---|
| 7 |
</refmeta> |
|---|
| 8 |
|
|---|
| 9 |
<refnamediv> |
|---|
| 10 |
<refname>create_compressed_fs, extract_compressed_fs</refname> |
|---|
| 11 |
<refpurpose>convert and extract a filesystem to/from a cloop volume</refpurpose> |
|---|
| 12 |
</refnamediv> |
|---|
| 13 |
|
|---|
| 14 |
<refsynopsisdiv> |
|---|
| 15 |
<cmdsynopsis> |
|---|
| 16 |
<command>create_compressed_fs</command> |
|---|
| 17 |
<arg choice="req"> image</arg> |
|---|
| 18 |
<arg choice="req">blocksize</arg> |
|---|
| 19 |
<arg choice="opt">> image.cloop_compressed</arg> |
|---|
| 20 |
</cmdsynopsis> |
|---|
| 21 |
<cmdsynopsis> |
|---|
| 22 |
<command>extract_compressed_fs</command> |
|---|
| 23 |
<arg choice="req"> filename</arg> |
|---|
| 24 |
</cmdsynopsis> |
|---|
| 25 |
</refsynopsisdiv> |
|---|
| 26 |
|
|---|
| 27 |
<refsect1> |
|---|
| 28 |
<title>DESCRIPTION</title> |
|---|
| 29 |
|
|---|
| 30 |
<para><command>create_compressed_fs</command> compresses a filesystem image |
|---|
| 31 |
to a compressed image suitable for mounting with the cloop driver. blocksize |
|---|
| 32 |
must be a multiple of 512 bytes. Make sure you have enough swap to hold the |
|---|
| 33 |
entire compressed image in virtual memory! Use "-" as filename to read data |
|---|
| 34 |
from stdin, as in: </para> |
|---|
| 35 |
|
|---|
| 36 |
<para> |
|---|
| 37 |
mkisofs -r datadir | create_compressed_fs - 65536 > datadir.iso.compressed |
|---|
| 38 |
</para> |
|---|
| 39 |
|
|---|
| 40 |
</refsect1> |
|---|
| 41 |
|
|---|
| 42 |
<refsect1> |
|---|
| 43 |
<title>MOUNTING</title> |
|---|
| 44 |
<para>You have to pass the options to the cloop module on loading:</para> |
|---|
| 45 |
|
|---|
| 46 |
<para>insmod cloop.o file=/path/to/compressed/image</para> |
|---|
| 47 |
<para>mount -o ro -t whatever /dev/cloop /mnt/compressed</para> |
|---|
| 48 |
</refsect1> |
|---|
| 49 |
|
|---|
| 50 |
<title>SEE ALSO</title> |
|---|
| 51 |
|
|---|
| 52 |
<command>/usr/share/doc/cloop-utils/*</command>, <command>/usr/share/doc/cloop-src/*</command> |
|---|
| 53 |
|
|---|
| 54 |
</refsect1> |
|---|
| 55 |
|
|---|
| 56 |
<refsect1> |
|---|
| 57 |
<title>AUTHOR</title> |
|---|
| 58 |
|
|---|
| 59 |
<para>This manual page was written by Eduard Bloch |
|---|
| 60 |
<email>(blade@debian.org)</email> for the <productname>Debian |
|---|
| 61 |
GNU/Linux</productname> system (but may be used by others). Permission is |
|---|
| 62 |
granted to copy, distribute and/or modify this document under the terms of |
|---|
| 63 |
the <acronym>GNU</acronym> Free Documentation License, Version 1.1 or any |
|---|
| 64 |
later version published by the Free Software Foundation; with no Invariant |
|---|
| 65 |
Sections, no Front-Cover Texts and no Back-Cover Texts.</para> |
|---|
| 66 |
|
|---|
| 67 |
</refsect1> |
|---|
| 68 |
|
|---|
| 69 |
</refentry> |
|---|