On Mon, Mar 19, 2001 at 03:39:39PM +1100, Andrew Tridgell wrote:
> > [60GB]
> > path = /home/ftp/pub
> > comment = Basic mirror. Maximum of 60GB in size.
> > include from = /etc/rsync.d/60gb.conf
> >
> > [90GB]
> > path = /home/ftp/pub
> > comment = Basic mirror. Maximum of 90GB in size.
> > include from = /etc/rsync.d/90gb.conf
> > include from = /etc/rsync.d/60gb.conf
>
> this sounds simple, but is hard to get right. If you did it the simple
> way then you'd have the problem that you can't turn off a global
> "include from" using a "include from = " in a service entry.
>
> Instead it would be pretty easy to support:
>
> include from = /etc/rsync.d/90gb.conf, /etc/rsync.d/60gb.conf
>
> so if someone wants to do the rather trivial patch to do that then
> please do. Just add it in add_exclude_file().
>
This would work for me provided that directives are still processed in the
same order. In the above example everything in 90gb.conf first followed by
60gb.conf. This also looks cleaner than my first idea. I like it.
> be daring, write and submit the patch yourself :)
Given the time this week I might. Montly manager reports due tomorrow first
though. *sigh*
--
Regards,
Scott Russell ([EMAIL PROTECTED])
Linux Technology Center, System Admin, RHCE.
T/L 441-9289 / External 919-543-9289
http://bzimage.raleigh.ibm.com/webcam