Originally written by Eric Youngdale sometime before 17 January 1994
Modified by Adam J. Richter <adam@yggdrasil.com>, 17 Feb 1998

	This distribution contains all of the stuff you need for
transparent compression of data files under linux with the iso9660
filesystem.

	The first part is a patch to gzip-1.2.4, which does a blockwise
compression.  You use this like:

	./gzip -B 2048 filename

to compress with a blocksize of 2048 bytes (which is what you should
probably use.  The compressed files have a ".gZ" extension.  They
cannot be decompressed with regular gzip, but the patched gzip can
also decompress them.

	The second part is a patch to mkisofs-1.11.1 that enables it
to generate the special SUSP records to identify a transparently
compressed file.  To activate this, use the "-z" switch.  Obviously,
Rock Ridge must be in use.  The patches for this were relatively short.

	The kernel patches to the iso filesystem must be applied
before you will get transparent decompression of files.  These are based
upon a 2.1.86 kernel.

	When in use, the decompression is done in kernel mode.

BUGS:
	File type detection for text files is not yet implemented.

	We need to do something so that buffers for uncompressed files
are also stored in the buffer cache.  We need to key something on
(dev, inode, block), instead of (dev, block).  Until we do this, everything
will be *sloooow*.

	Some kind of read-ahead should be added if we need to
physically request data from the cdrom.  Since the file is compressed,
we do not need the full read_ahead, I suspect, but something like 4
sectors would probably do quite nicely.

        Setting the blocksize to 1005 seems to cause a panic.  4096 (the
memory page size) is the only block size that we care about, but it
would be good to track this down.  I suspect that somewhere, perhaps
even elsewhere in the kernel, some memory allocation is being assumed to
be a multiple of 4 or 8 bytes when it is not.

