From owner-freebsd-questions@FreeBSD.ORG Thu May 28 09:03:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8CD10656B2 for ; Thu, 28 May 2009 09:03:13 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2C58FC27 for ; Thu, 28 May 2009 09:03:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n4S937ui058501; Thu, 28 May 2009 11:03:07 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n4S936U8058498; Thu, 28 May 2009 11:03:07 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 28 May 2009 11:03:06 +0200 (CEST) From: Wojciech Puchar To: Peter Steele In-Reply-To: Message-ID: References: <20090526230522.GH49013@hal.rescomp.berkeley.edu> <20090527011302.98954329.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: RE: Is this a gmirror bug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 09:03:13 -0000 >> that do zcat [partition image.gz] >/dev/partition > > We have a two step process. First we run a script that creates the > master image as a tgz. The image is created at an alternate root using > the -C option of pkg_add and the DESTDIR option of the various OS > install scripts. We only run this script when we need to make a change > to the master image. > > We use this image to create bootable USB sticks, and when a system is > booted from one of these sticks there is automatic startup logic that > clones the disk onto the target hard drive of the box (configuring the good but seems quite overcomplex expecially this pkg_add. why just not to compress whole filesystem(s) by tar+gzip?