To restore the kernel source to the previous, unpatched, version, which of the following commands could be used?
A.
patch -restore
B.
patch -undo
C.
patch -U
D.
patch -remove
E.
patch -R
Explanation:
patch takes a patch file patchfile containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions-R or-reverse :Assume that this patch was created with the old and new files swapped.
Patch attempts to swap each hunk around before applying it. Rejects come out in the swapped format. The -R option does not work with ed diff scripts because there is too little information to reconstruct the reverse operation.