All of lore.kernel.org
 help / color / mirror / Atom feed
* how diff between hardlink trees works?
@ 2011-09-09 15:05 Vaibhav Jain
  2011-09-09 18:12 ` Kai Meyer
  0 siblings, 1 reply; 5+ messages in thread
From: Vaibhav Jain @ 2011-09-09 15:05 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am not able to understand how diff between two trees of which one is just
contains hardlinks to another's files (cp -al )ing
works.I am asking this question here because I need to build a custom kernel
for which I need to generate patch. So the
documentation suggests to create a hardlink copy of the kernel source tree
using cp -al and then make changes to
one of the trees and run a diff.I am wondering that if files are hardlinks
then changes to one copy will affect another in which case
diff should give no output.
Also, the patch I created looks a little odd as it contains complete
modified files instead of just the differences.
Please help!

Thanks
Vaibhav Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110909/a3172438/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-10  2:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-09 15:05 how diff between hardlink trees works? Vaibhav Jain
2011-09-09 18:12 ` Kai Meyer
2011-09-09 18:39   ` Vaibhav Jain
2011-09-10  2:47     ` Kai Meyer
2011-09-10  2:50       ` Vaibhav Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.