how to use patch?

王凯 wang__kai__ at
Tue Oct 12 09:56:56 CEST 2004

The kernel I'm using is, so I should patch the corresponding patch to rtai. The question is, where to patch, the folder of linux- or rtai-3.1? I mean in which folder should the hal7- be applied?

I tried to patch it in the folder rtai-3.1 by this command:
patch -p1 < rtai-core/arch/i386/patches/hal7-

It showed me that:
|diff -uNrp linux- linux-
|--- linux-     2004-08-14 12:55:35.000000000 +0200
|+++ linux-       2004-08-15 12:42:35.000000000 +0200

And tell me it can't find the file.

So, what's wrong?  Or should I apply the patch in the folder Linux- instead of rtai-3.1?

By the way, is there any one can tell me what the "source tree" mentioned in file README.INSALL is, the linux-source-folder or the rtai-source-folder? And what the "$source_tree" and "$linux-src-dir" are as well.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Rtai mailing list