From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 13 Jun 2003 - 15:03:52 BST
On Fri, Jun 13, 2003 at 12:10:48PM +0800, Joseph S Chung wrote:
>
> Sorry for the "read receipts", I will try to avoid them.
thank you very much!
> ============================================
> I do the command below as the FAQ advised.
>
> zcat patch-X.X.XX.gz | patch -p0 -E
>
> But get the following results...
> =======================================================
> [root_at_bbb src]# zcat patch-2.4.20ctx-17 | patch -p0 -E
> zcat: patch-2.4.20ctx-17: not in gzip format
> [root_at_bbb src]# zcat patch-2.4.20ctx-17.gz | patch -p0 -E
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -rc2P linux-2.4.20/arch/i386/kernel/entry.S
> linux-2.4.20ctx-17/arch/i386/kernel/entry.S
> |*** linux-2.4.20/arch/i386/kernel/entry.S 2002-12-09
> 10:31:24.000000000 -0500
> |--- linux-2.4.20ctx-17/arch/i386/kernel/entry.S 2003-03-29
> 21:13:24.000000000 -0500
> --------------------------
> File to patch:
> =======================================================
>
> Is it asking for the file name of the running kernel or something else?
please read the following:
- http://www.ibiblio.org/mdw/HOWTO/Kernel-HOWTO/
- man patch
> Also, I find vservers start ok even without the patch installed. Is it
> essential to apply the patch?
if the vservers start ok, even without the patch installed,
then I wouldn't use the patch anyway, but actually I doubt it.
best,
Herbert
> Thanks,
> Joseph