The *command* i have used is:
[r...@localhost 2.6.29.1-r1]# patch  -i 01-gobohide.patch -p1
The next patch would create the file fs/gobohide.c,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file fs/gobohide.c.rej
can't find file to patch at input line 404
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nurp linux-2.6.29.1.orig/fs/ioctl.c linux-2.6.29.1/fs/ioctl.c
|--- linux-2.6.29.1.orig/fs/ioctl.c    2009-04-02 17:55:27.000000000 -0300
|+++ linux-2.6.29.1/fs/ioctl.c    2009-04-26 12:21:56.000000000 -0300
--------------------------
File to patch:


This is the *pwd* output of my current working directory:
/home/user/Download/Linux/2.6.29.1-r1/

This is the *ls *output of my current working directory:
[r...@localhost 2.6.29.1-r1]# ls -l
total 460
-rw-r--r--. 1 user user  22193 2009-04-27 00:35 01-gobohide.patch
-rw-r--r--. 1 user user 342772 2009-04-27 00:35
02-unionfs-2.5.1_for_2.6.29-rc2.patch
-rw-r--r--. 1 user user   1834 2009-04-27 00:35
03-applesmc-accel-create-check.patch
-rw-r--r--. 1 user user    471 2009-04-27 00:35 04-appletouch.patch
-rw-r--r--. 1 user user   2366 2009-04-27 00:35
05-decrypt_failed_as_debug.patch
drwxr-xr-x. 2 user user   4096 2009-04-27 00:35 cell
drwxr-xr-x. 2 root root   4096 2010-02-23 08:59 fs
-rw-r--r--. 1 root root  11544 2010-02-19 13:38 gobohide.c
drwxr-xr-x. 2 user user   4096 2009-04-27 00:35 i686
-rw-r--r--. 1 root root  11544 2010-02-22 10:10 ioctl.c
-rw-r--r--. 1 root root  11544 2010-02-22 10:03 ioctl.c.orig
-rw-r--r--. 1 root root  12378 2010-02-22 10:10 ioctl.c.rej
drwxr-xr-x. 2 user user   4096 2009-04-27 00:35 ppc
-rw-r--r--. 1 user user   5577 2009-04-27 00:35 Recipe
drwxr-xr-x. 2 user user   4096 2009-04-27 00:35 Resources
drwxr-xr-x. 2 user user   4096 2009-04-27 00:35 x86_64
[r...@localhost 2.6.29.1-r1]#

This is the *ls *output of fs directory:
[r...@localhost 2.6.29.1-r1]# ls -l  fs/
total 28
-rw-r--r--. 1 root root 11544 2010-02-19 13:36 gobohide.c
-rw-r--r--. 1 root root 12378 2010-02-23 11:45 gobohide.c.rej
[r...@localhost 2.6.29.1-r1]#




On Tue, Feb 23, 2010 at 9:34 AM, Lucas C. Villa Real
<luca...@gobolinux.org>wrote:

> On Tue, Feb 23, 2010 at 12:34 AM, rajkumar vbalakrishnasamy
> <rajkumar.l...@gmail.com> wrote:
> > Hello,
> >           I tried that option but it is asking file to patch ,i do not
> know
> > how to point the patch file
> >
> > The output is displayed below:
> >
> > The next patch would create the file fs/gobohide.c,
> > which already exists!  Assume -R? [n]
> > Apply anyway? [n]
> > Skipping patch.
> > 1 out of 1 hunk ignored -- saving rejects to file fs/gobohide.c.rej
> > can't find file to patch at input line 404
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |diff -Nurp linux-2.6.29.1.orig/fs/ioctl.c linux-2.6.29.1/fs/ioctl.c
> > |--- linux-2.6.29.1.orig/fs/ioctl.c    2009-04-02 17:55:27.000000000
> -0300
> > |+++ linux-2.6.29.1/fs/ioctl.c    2009-04-26 12:21:56.000000000 -0300
> > --------------------------
> > File to patch:
>
> What's the current working directory and what's exactly the command
> line you're using to patch the kernel?
>
> Don't you have a directory named 'fs' under your kernel source tree
> and a file named ioctl.c in it?
>
> --
> Lucas
> "If you're looking for a reason I've a reason to give: pleasure,
> little treasure"
> _______________________________________________
> gobolinux-devel mailing list
> gobolinux-devel@lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
>



-- 
follow me
http://twitter.com/krisrajkumar
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to