Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 1995 12:45:11 -0800
From:      Pete Shipley <shipley@merde.dis.org>
To:        Hinrich Eilts <eilts@late.e-technik.uni-erlangen.de>
Cc:        questions@FreeBSD.org
Subject:   Re: Cloning a hard disk/system 
Message-ID:  <199502132045.MAA12371@merde.dis.org>
In-Reply-To: Your message of Mon, 13 Feb 1995 10:52:10 %2B0100. <199502130952.KAA07203@late5.e-technik.uni-erlangen.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
>
>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) )




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