From owner-freebsd-questions@FreeBSD.ORG Wed Aug 24 15:48:59 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6661216A41F for ; Wed, 24 Aug 2005 15:48:59 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id B762943D49 for ; Wed, 24 Aug 2005 15:48:58 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 25704 invoked by uid 0); 24 Aug 2005 15:48:55 -0000 Received: from user-69-73-60-132.knology.net (HELO Grumpy.DynDNS.org) (69.73.60.132) by smtp1.knology.net with SMTP; 24 Aug 2005 15:48:55 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id BF5936241; Wed, 24 Aug 2005 10:48:54 -0500 (CDT) Date: Wed, 24 Aug 2005 10:48:54 -0500 From: David Kelly To: questions@freebsd.org Message-ID: <20050824154854.GA63910@Grumpy.DynDNS.org> References: <430C568B.5060501@azimainc.com> <44d5o3tm57.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44d5o3tm57.fsf@be-well.ilk.org> User-Agent: Mutt/1.4.2.1i Cc: jdyke@azimainc.com Subject: Re: creating filesystem images 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: Wed, 24 Aug 2005 15:48:59 -0000 On Wed, Aug 24, 2005 at 11:00:52AM -0400, Lowell Gilbert wrote: > jdyke writes: > > > I have an OS running on a 128Mg CF and i want to tranfsfer this > > image to a another, actually 5 or more, 512Mg CF cards, each with > > two partitions one 128 and one 392. dump and restore seem to be > > able to accomplish this. Is that a good method, is dd better? > > Dump and restore is the obvious way to do it. > dd can do it too, but will be slower, as well > as easier to shoot yourself in the foot with. The advantage of dump/restore is that only the necessary data is written. With dd all the unused blocks on the media are also written, including the filesystem, which will probably work on the larger card. I've always found it best to newfs a CF rather than bulk copy with dd. Had about 20 256MB CF cards purchased in one lot and found several years ago that not all were exactly the same block count in size. Running newfs separately on each solved that problem. Previously dd was used as a bulk duplicator. Tar or pax are not bad choices in addition to dump/restore. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.