Linux Cookbook

 < Day Day Up > 

10.9.1 Problem

You applied a patch, and now you want to get rid of it. It may be unstable or buggy, or maybe you simply made a mistake and want to start over.

10.9.2 Solution

Use the same command you used to unpack and apply it, adding the -R option:

$ bzip2 -dc ../patch-2.6.4.bz2 | patch -s -p1 -R

10.9.3 See Also

  • patch(1)

  • Kernel Newbies (http://kernelnewbies.org)

  • Kernel.org (http://kernel.org)

     < Day Day Up > 

    Категории