Re: Which are the steps to apply a Ext3 file system?

From: Juri Haberland <list-linux ext3 users spoiled org>

To: ext3-users redhat com

Subject: Re: Which are the steps to apply a Ext3 file system?

Date: Mon, 2 Apr 2001 00:05:50 +0000 (UTC)

"MORAES,CAREN (Non-HP-Brazil,ex1)" <caren_moraes non hp com> wrote:
>
> I got ext3-0.0.6b patch, as you suggested me, and applied it.
> So, I tried configure the kernel, but the option "Enable Second extended fs
> development code" isn't shown anymore.
>
> I must remenber you, Im using RedHat 6.2 with kernel 2.2.16-3.
> Im intending install Intermezzo in my web farm.
> Im trying to install ext3 because Intermezzo needs ext3 fs.
> Can I apply ext3 fs with kernel 2.2.16-3? Or I need update RH kernel?
Hi,
obviously you tried to patch a vendor supplied kernel (RedHat kernel) which is
always a bad idea because these kernels are always patched with a variety of
things which makes it very difficult to apply patches that were intendent to
be used with stock kernels. Then you tried to apply a newer patch to a kernel
which was already patched with an older version of that patch. That will never
work...
The most recent ext3 patch is against kernel version 2.2.19 (ok, I know, that
is not exactly true but works...).
Here is how to do it:
get a fresh kernel tarball from ftp.kernel.org and untar it in /usr/src:
cd /usr/src
rm -rf linux
wget ftp.kernel.org:/pub/linux/kernel/v2.2/linux-2.2.19.tar.bz2
tar xIvf linux-2.2.19.tar.bz2
Now, get the ext3-0.0.6 patch, untar it and apply it:
wget ftp://ftp.*.kernel.org/pub/linux/kernel/people/sct/ext3/ext3-0.0.6b.tar.bz2
tar -xIvf ext3-0.0.6b.tar.bz2
cd linux
cat ../ext3-0.0.6b/linux-2.2.19pre14.kdb.diff | patch -sp1
cat ../ext3-0.0.6b/linux-2.2.19pre14.ext3.diff | patch -sp1
>From here on it is just normal stuff: make menuconfig; make dep clean bzImage
and so on.
And, as usual, my little hint towards the little FAQ that I wrote ;-)
http://people.spoiled.org/jha/ext3-faq.html
Good luck,
Juri