On Sun, 8 Jul 2001, Warner Losh wrote:
> In message <Pine.BSF.4.21.0107071842230.58871-100000@beppo> Matthew Jacob writes:
> : tar cfl - . | (cd /altroot/<local_fs> && tar xpf -)
> Don't use tar. It loses devices, can't handle holey files well and a
> number of other minor clitches. Use dump instead.
yes, tar is a horrible way to do this.
mount /dev/whatever /new
dump 0f - /dev/your-root-device | restore rf -
At least that's how I do it ...
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message