Re: kernel question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just found nice little (freely available online) book on patch and
diff:
http://www.network-theory.co.uk/diff/manual/

Dave

On Thu, 2004-05-27 at 04:57, Davidlohr Bueso A wrote:
> 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/
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux