e2compr-0.4.51-alpha.patch build instructions

All new changes copyright (C) Terry L. Loveall May 5, 2007
email: <loveall@iinet.com>
URL: http://modest-proposals.com/

Released under the GPL V 2 license.

The 2.4.26 patch _should_ work with most any post 2.4.18 kernel.

YMMV

You will probably need the e2fsprogs:
blkid, dumpe2fs, filefrag, logsave, mklost+found, uuidgen,
badblocks, chattr, e2image, fsck.ext2, lsattr, mke2fs and tune2fs.
Download, build and use from:
http://e2fsprogs.sourceforge.net

My debug environment is qemu-0.7.1 with a custom 16M ext2 filesystem (built
using my lmw.sh script; see: Mini-LMW, bottom project at: 
<http://modest-proposals.com/Hacklin.htm>), busybox, X and support apps.

I use command line chattr, lsattr for individual file tests and bash shell
scripts that cyclically compress/uncompress the /usr directory or mount a USB
thumbdrive and copy a linux tree to a selectively compressed tree on the USB
drive. (See the included shell script 'cpycomp.sh' for details).

untgz the archive to e.g. /dud with:
'cd /dud;tar xzpf linux-2.4.26-e2compr-0.4.50.patch.tgz'

2.4.26:

change to your already configured (you did make a backup copy, didn't you?)
linux-2.4.26 root dir:
'cd /usr/src/linux-2.4.26'

(ensure that /usr/src/linux is softlinked to /usr/src/linux-2.4.26)

run:
'make clean'

install the patch with:
patch -p1 < /dud/linux-2.4.26-e2compr-0.4.50.patch

run:
'make oldconfig'
'make dep'
'make bzimage'
'make modules'

You may not need to run 'make modules' or 'make modules_install' since only
the ext2 code is changed.

I never had to unless I was changing major kernel settings such as enabling
kernel debugging, SMP preemption, lock testing....

