cat raid0145-19990421-2.2.6 | patch -p0
--Drew
On Fri, 11 Jun 1999, Mark Beck wrote:
> Guys,
>
> Ive downloaded 2.2.6 kernel, and now trying to patch
> "raid0145-19990421-2.2.6".
>
> [root@lisc0002 src]# ls -l
> total 394
> lrwxrwxrwx 1 root root 12 Jun 11 16:18 linux -> linux-2.2.6/
> drwxr-xr-x 15 1046 1046 1024 Jun 11 16:25 linux-2.2.6
> drwxr-xr-x 14 1046 1046 1024 Apr 28 16:49 linux-2.2.7
> drwxr-xr-x 15 1046 1046 1024 Jun 9 16:47 linux-2.2.9
> -rw-r--r-- 1 root root 395628 Jun 11 16:21
> raid0145-19990421-2.2.6
> drwxr-xr-x 7 root root 1024 Jun 9 19:32 redhat
>
>
> I now do:
>
> [root@lisc0002 src]# patch <raid0145-19990421-2.2.6
> can't find file to patch at input line 3
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- linux/fs/block_dev.c.orig Tue Nov 24 11:41:28 1998
> |+++ linux/fs/block_dev.c Sun Apr 18 10:39:09 1999
> --------------------------
> File to patch:
>
> What am I doing wrong ?
>
> Thanks
> Mark
>
>