man create_compressed_fs (Commandes) - convert and extract a filesystem to/from a cloop volume
NAME
create_compressed_fs, extract_compressed_fs - convert and extract a filesystem to/from a cloop volume
SYNOPSIS
create_compressed_fs [ OPTIONS ] image outfile
extract_compressed_fs filename
DESCRIPTION
create_compressed_fs compresses a filesystem image to a compressed image suitable for mounting with the cloop driver. Run the command with "-h" to get a list of available options and description of data storages modes and advanced usage (eg. with a network cluster). Blocksize must be a multiple of 512 bytes.
EXAMPLES
create_compressed_fs image.ext2 image.ext2.cloop
size=`mkisofs -r --print-size data` && mkisofs -r data | create_compressed_fs -s ${size}i - datadir.iso.cloop
MOUNTING
You can pass an option to the cloop module on loading, or use losetup or losetup functionality of the mount command. Examples:
insmod cloop.o file=/path/to/compressed/image
mount -o ro -t whatever /dev/cloop /mnt/compressed
mount cl /mnt/misc -oloop=/dev/cloop0
SEE ALSO
/usr/share/doc/cloop-utils/*, /usr/share/doc/cloop-src/*
AUTHOR
This manual page was written by Eduard Bloch <blade@debian.org> for the Debian GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU GPLv2 .