From owner-freebsd-questions Mon Sep 7 09:51:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25672 for freebsd-questions-outgoing; Mon, 7 Sep 1998 09:51:11 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from casa.staub.net (casagate.staub.net [206.129.249.118]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25662 for ; Mon, 7 Sep 1998 09:51:05 -0700 (PDT) (envelope-from phils@casa.staub.net) Received: from casa.staub.net (localhost [127.0.0.1]) by casa.staub.net (8.8.8/8.8.8) with ESMTP id JAA18404; Mon, 7 Sep 1998 09:47:59 -0700 (PDT) (envelope-from phils@casa.staub.net) Message-Id: <199809071647.JAA18404@casa.staub.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Neil Blakey-Milner cc: Ben Compton , freebsd-questions@FreeBSD.ORG Subject: Re: Disk Copying In-reply-to: Your message of "Mon, 07 Sep 1998 12:10:34 +0200." <19980907121034.A21830@rucus.ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Sep 1998 09:47:59 -0700 From: Phil Staub Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Last I checked, the biggest problem with this approach is that it will not correctly handle certain types of files, such as block/character special files in /dev, and sockets. This is why I would recommend dump/restore. In > This is best performed by booting from a floppy disk, and making the new > partitions on the 4.3gig, and then mounting the Linux partitions on both the > drives. > > Mount the old partition in /mnt/old, and the new partition in /mnt/new. > > Then: > > (cd /mnt/old && tar cf - .) | (cd /mnt/new && tar xpf -) > > This will use tar to mirror the old partition onto the new partition. > ... > > Neil > -- > Neil Blakey-Milner > nbm@rucus.ru.ac.za > -- Phil Staub, KE7HC Senior Software Engineer phil@staub.net Audio Precision, Inc. or phils@audioprecision.com Beaverton, OR 97075, (800) 231-7350 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message