From owner-freebsd-questions@FreeBSD.ORG Tue Nov 10 23:47:51 2009 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D990310656A3 for ; Tue, 10 Nov 2009 23:47:51 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1738FC21 for ; Tue, 10 Nov 2009 23:47:51 +0000 (UTC) Received: from baby-jane.lamaiziere.net (37.6.192-77.rev.gaoland.net [77.192.6.37]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 19769633321; Wed, 11 Nov 2009 00:47:50 +0100 (CET) Received: from baby-jane.lamaiziere.net (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 22AAE97C0; Wed, 11 Nov 2009 00:47:46 +0100 (CET) Date: Wed, 11 Nov 2009 00:47:45 +0100 From: Patrick Lamaiziere To: Message-ID: <20091111004745.6bb5c214@baby-jane.lamaiziere.net> In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Jean-Paul Natola Subject: Re: g4u option 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: Tue, 10 Nov 2009 23:47:51 -0000 Le Tue, 10 Nov 2009 12:00:56 -0500, "Jean-Paul Natola" a =C3=A9crit : > I'm trying to figure out ,if possible, how to get g4u to only clone > data, i.e. > I have an 80 gig drive but my OS and applications only come to about > 6gigs that=E2=80=99s what I want to clone to the new drive. >=20 > Is there a way to accomplish this? g4u uses dd(1) to dump the disk or a partition, then it compresses datas with gzip. It copies *all*. You can save size by filling the filesystem of the partition with '0'. This is in the FAQ of g4u: http://www.feyrer.de/g4u/#shrinkimg g4u is based on NetBSD, not FreeBSD. Regards.