Date: Mon, 07 Sep 1998 09:47:59 -0700 From: Phil Staub <phils@casa.staub.net> To: Neil Blakey-Milner <nbm@rucus.ru.ac.za> Cc: Ben Compton <peabody@naxs.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Disk Copying Message-ID: <199809071647.JAA18404@casa.staub.net> In-Reply-To: Your message of "Mon, 07 Sep 1998 12:10:34 %2B0200." <19980907121034.A21830@rucus.ru.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809071647.JAA18404>