From owner-freebsd-questions Mon Feb 13 12:55:15 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA25250 for questions-outgoing; Mon, 13 Feb 1995 12:55:15 -0800 Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA25244 for ; Mon, 13 Feb 1995 12:55:14 -0800 Received: (uucp@localhost) by soda.CSUA.Berkeley.EDU (8.6.9/PHILMAIL-1.11) with UUCP id MAA19285; Mon, 13 Feb 1995 12:46:03 -0800 Received: from [127.0.0.1] by merde.dis.org (8.6.8.1/MERDE-940323) id MAA12371; Mon, 13 Feb 1995 12:45:12 -0800 Message-Id: <199502132045.MAA12371@merde.dis.org> X-Authentication-Warning: merde.dis.org: Host [127.0.0.1] didn't use HELO protocol To: Hinrich Eilts cc: questions@FreeBSD.org Subject: Re: Cloning a hard disk/system X-Phone: (510) 849-2230 X-Snail-address: 2560 Bancroft way #51;Berkeley CA 94704-1700 In-reply-to: Your message of Mon, 13 Feb 1995 10:52:10 +0100. <199502130952.KAA07203@late5.e-technik.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12366.792708310.1@merde.dis.org> Date: Mon, 13 Feb 1995 12:45:11 -0800 From: Pete Shipley Sender: questions-owner@FreeBSD.org Precedence: bulk > >Does above tar-solution work with files containing holes? I have >a file (on HPUX at work, but a similar is at home on FreeBSD) > >late5(eilts):infosystems/WWW/cgi-etc: ll idx-usr-man_i.pag >-rw-r--r-- 1 www www 247309312 Feb 12 10:42 idx-usr-man_i.pag >late5(eilts):infosystems/WWW/cgi-etc: du idx-usr-man_i.pag >12320 idx-usr-man_i.pag > >"cp", "cpio", ... expands it to full size resulting in a full disk. > I have always used " dump | ( cd /mnt restore ) " to get this done (and it is a tad faster then cp(1) )