Getting into the source code

Wayne Davison wayned at samba.org
Wed Oct 20 09:56:22 MDT 2010


On Wed, Oct 20, 2010 at 6:58 AM, Angus Hammond <angusgh at gmail.com> wrote:

> Hi everyone,
> I recently downloaded a copy of the rsync source code from the samba
> website. I would like some advice in how I could go about familiarizing
> myself with the code, so that I could read it and edit it. The source tree
> contains loads of files, and I haven't got a clue where to start :).
> What would you recommend as a good place to begin reading would be?
> Can anyone tell me of a good place to read about what each function and
> file does?
> Thanks
> Angus
>
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>

I'd recommend reading this simple summary of how rsync works (the link is
also found on the doc page):

     http://rsync.samba.org/how-rsync-works.html

You will then find various files named for the parts of rsync (generator.c,
sender.c, receiver.c) plus "main.c", which is a good place to get going.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101020/9e7c8257/attachment.html>


More information about the rsync mailing list