Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2003 09:05:59 +0200 (MET DST)
From:      Helge Oldach <helge.oldach@atosorigin.com>
To:        imp@bsdimp.com (M. Warner Losh)
Cc:        hackers@freebsd.org
Subject:   Re: rsync vs installworld
Message-ID:  <200310200705.JAA06855@galaxy.hbg.de.ao-srv.com>
In-Reply-To: <20031018.192827.118920091.imp@bsdimp.com> from "M. Warner Losh" at "Oct 19, 2003  3:28:27 am"

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh:
>I'm contemplating a binary distribution system for some systems that I
>have.  I'm ignoring kernel updates for the moment, and concentrating
>on userland deployment.
>
>I'm thinking of doing something like:
>
>make buildworld
>make installworld DESTDIR=/big/disk/freebsd/image
>make mergemaster -D /big/disk/freebsd/mergemaster
>
>And then on each machine I want to update I'd do something like:
>
>sudo rsync --exclude etc --exclude usr/local --exclude boot \
>	--delete -av host-server:/big/disk/freebsd/image /
>sudo rm -rf /tmp/mergemaster
>sudo scp host-server:/big/disk/freebsd/mergemaster /tmp/mergemaster
>sudo mergemaster -someargs
>
>My question is: has anybody else tried this?  If so, what bumps along
>the way are there going to be?

Rsync doesn't deal with file flags (chflags(2)). Thus my personal
preference for updating machines is making installworld on a file system
exported by the build server.

Helge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310200705.JAA06855>