diff and patch are your friends, say you have a orginal.c and a modificaction.c You could do: diff -u original.c modification.c > my_patch.patch Then to apply this patch to the original file you would do: patch -p1 original.c my_patch.patch There is quite a bit of info on these tools (plus the man pages). Dave On Thu, 2004-05-27 at 03:59, linux lover wrote: > hello, > 1) how to make track of log of whatever > kernel source i modified. that is how can i know > changes to original file i had done if i have to > restore it? > 2) how if i modified a file the patch can be > generated. is there any tool? > > regards, > linux_lover > > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/