From owner-freebsd-hackers Sun Jul 8 19: 8:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by hub.freebsd.org (Postfix) with ESMTP id 8B17537B403 for ; Sun, 8 Jul 2001 19:08:19 -0700 (PDT) (envelope-from rminnich@lanl.gov) Received: from white.acl.lanl.gov (white.acl.lanl.gov [128.165.147.100]) by acl.lanl.gov (8.11.3/8.8.5) with SMTP id f6928Hp4150628 for ; Sun, 8 Jul 2001 20:08:18 -0600 (MDT) Received: (qmail 25230 invoked by uid 3499); 9 Jul 2001 02:08:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Jul 2001 02:08:17 -0000 Date: Sun, 8 Jul 2001 20:08:17 -0600 (MDT) From: Ronald G Minnich X-X-Sender: To: Cc: Subject: Re: best way to migrate to a new disk In-Reply-To: <200107080627.f686RGJ76468@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 8 Jul 2001, Warner Losh wrote: > In message Matthew Jacob writes: > : tar cfl - . | (cd /altroot/ && 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. newfs /dev/whatever mount /dev/whatever /new cd /new dump 0f - /dev/your-root-device | restore rf - At least that's how I do it ... ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message