From owner-freebsd-stable@FreeBSD.ORG Sun Nov 15 02:19:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F5611065676 for ; Sun, 15 Nov 2009 02:19:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 421F48FC12 for ; Sun, 15 Nov 2009 02:19:15 +0000 (UTC) Received: (qmail 20782 invoked by uid 399); 15 Nov 2009 02:19:14 -0000 Received: from localhost (HELO ?192.168.0.110?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 15 Nov 2009 02:19:14 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AFF652A.5060609@FreeBSD.org> Date: Sat, 14 Nov 2009 18:19:22 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Nikolay Tychina References: <4AFDF0AF.1090201@FreeBSD.org> <4AFEF726.2010200@FreeBSD.org> <20091114201645.GA56393@epia-2.farid-hajji.net> In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, cpghost Subject: Re: how to mirror cvs or svn with rsync X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 02:19:15 -0000 Nikolay Tychina wrote: > Well, reference machine doesn't even run FreeBSD. I need to mirror src (say, > checkout of RELENG_8). > Another problem is that only rsync may be used on the reference machine. :) I really don't want to sound like a nag but you're still not being very clear as to what you're trying to do. Do you need to have just the checked out versions of /usr/src for one particular branch at one specific point in time that will be the same for all the machines that have to access it? If so, you'll need to check the files out on the reference machine. This can be done with cvsup, csup, or subversion (svn). If the reference machine is not running freebsd then svn is your worst option since in order to expand the $FreeBSD$ Id tags you need a patch to the subversion sources that a linux admin is not likely to look kindly on. You can likely find cvsup binaries for linux available on line, or you should be able to compile csup on the linux box. If compiling it doesn't work, report the problems on freebsd-hackers@freebsd.org. If it's genuinely not possible to run anything but rsync on the reference machine you'll have to check out the sources on a freebsd box and rsync the files to the reference machine from there. If this isn't what you're trying to accomplish at all you need to provide a lot more information about what you're trying to do. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/