DouBle Alpha Version 0.2 25 Feb 1994 ------------------------ Double is a block device driver for Linux that does on-the-fly compression. It does not implement a compressed file system as such, but a file system can be mounted on a compressed device. Version 0.2 is very significantly different from version 0.1 and has many new features. Therefore it needs some testing before I can consider it stable. Please try it out. NEW FEATURES ------------ DouBle 0.2 comes with a choice of 4 different compression algorithms. - LZW is still included, but will probably not be supported in future releases: It is slow, does not give the best compression, and is patented. - A derivative of the predictor used in PPP (by Dave Rand) has been chosen as the new default algorithm. Although it does not give the best compression either, it is much faster than LZW and is in the public domain. Although its not the best algorithm, I intend to improve its performance in future releases. - LZRW2 and LZRW3A, written by Ross Williams. LZRW3A yields the best compression of all 4 algorithms, and LZRW2 yields a pretty good high speed compression. mount/umount/df support for DouBle devices. - Version 0.2 provides optional support for some (few indeed) fs-like operations. THE DRIVER IS NOT A FILESYSTEM HOWEVER. There is only support for put_super, read_super and statfs, with a fs type named "dble" (see below). Unfortunately, this involves patches to the kernel (and to mount) that I am not really happy with. Therefore, this is only an option, and the driver can also be used without fs support. MISSING FEATURES Please, tell me if you think I should add something. ---------------- - Better recovery when DouBle device becomes out of space. I have something in mind, but suggestions are welcome. - A better fsck-like program. dbck is closer to fsck and does more checking than in version 0.1, but it still does not fix problems. - The predictor algorithm needs a boost in compression. - Documentation: there are still no man pages and it's probably going to take a while because I don't know how to write them (what good am I, really ?). WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ! ! ! Back up your disks before you even think of trying it. I take no ! ! responsibility for data lost because of this driver. ! ! ! WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING INSTALLATION ------------ This distribution includes: - patches against kernel 0.99.15. Unlike previous versions, the driver itself is included in the patch. - A set of utilities. - A patch to the source of mount.c from the usermount package, by Peter Orbaek and a binary. see section 5b. 0 cd to /usr/src and tar xvfz double-0.2.tar.gz ----------------------------------------------- 1 Patch the kernel (Linux 0.99pl15), from /usr/src: --------------------------------------------------- patch -p0 ACKNOWLEDGMENTS --------------- Leo Broukhis and Jean-Loup Gailly have contributed a kind and precious expertise in the choice of new compression algorithms. The salient new features of this version are due only to their contribution. Thomas Graichen has been most helpful in making suggestions and comprehensive tests of this driver, which have resulted in several improvements. Many other people have provided useful reports; I hope you will continue to help me inprove the DouBle driver. AUTHORS ------- Jean-Marc Verbavatz (Jan 1994) Parts of the driver source were adapted from the loop driver copyright by Theodore Ts'o. The LZRW2, LZRW3-A algorithms were written by Ross Williams The predictor algorithm was originally written by Dave Rand, updated by a couple of other people (see file pred.c) All three source files were modified for the DouBle driver by Jean-Marc Verbavatz